diff options
author | Haibo Huang <hhb@google.com> | 2020-05-04 15:36:08 -0700 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2020-05-04 15:36:08 -0700 |
commit | 53b22487b306fb3c621fbd0f5a55d88645368aa2 (patch) | |
tree | 0e261565826bb61cb1ef0eed15f55408404989ce /.github | |
parent | 69b99531aae988863d98e52cfbc0684e83437cdc (diff) | |
download | paste-53b22487b306fb3c621fbd0f5a55d88645368aa2.tar.gz |
Upgrade rust/crates/paste to 0.1.12
Test: None
Change-Id: I574310633ac689745985b82d7ed3f3cceeee22f5
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4d4b341 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + pull_request: + schedule: [cron: "40 1 * * *"] + +jobs: + test: + name: Rust ${{matrix.rust}} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + rust: [nightly, beta, stable, 1.31.0] + steps: + - uses: actions/checkout@v2 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{matrix.rust}} + - run: cargo test + + minimal: + name: Minimal versions + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: dtolnay/rust-toolchain@nightly + - run: cargo -Z minimal-versions generate-lockfile + - run: cargo check --locked |