Skip to content

Cargo.toml: Add rust-version #47

Cargo.toml: Add rust-version

Cargo.toml: Add rust-version #47

Workflow file for this run

name: Integration
on:
push:
pull_request:
branches:
# Branches from forks have the form 'user:branch-name' so we only run
# this job on pull_request events for branches that look like fork
# branches. Without this we would end up running this job twice for non
# forked PRs, once for the push and then once for opening the PR.
- '**:**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable]
steps:
- uses: hecrj/setup-rust-action@master
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Extract Test Credentials
if: matrix.os != 'windows-latest'
env:
SERVICE_ACCOUNT_JSON: ${{ secrets.SERVICE_ACCOUNT_JSON }}
run: ./tests/extract_test_credentials.sh
- name: Build And Test
if: matrix.os != 'windows-latest'
run: cargo test
- name: Build on Windows
if: matrix.os == 'windows-latest'
run: cargo build