diff options
author | Haibo Huang <hhb@google.com> | 2020-07-26 23:48:05 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2020-07-27 12:03:11 -0700 |
commit | 41177158944274fd37d9160370611a61d68f24e7 (patch) | |
tree | 75f1ad89d6cebfb3f52ca64b4bdefb8c004c2453 /.github/workflows/ci.yml | |
parent | d256e487b415463d517809c52c78528e5d5ae036 (diff) | |
download | paste-41177158944274fd37d9160370611a61d68f24e7.tar.gz |
Upgrade rust/crates/paste to 1.0.0
* Regenerate .bp file, now libpaste is a proc_macro, not an rlib.
Test: make; atest -c --include-subdirs external/rust/crates
Change-Id: I257008a9d94c636a6b0b6ebb36feb839f7a895cf
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4476e1..4412b64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,18 +12,21 @@ jobs: strategy: fail-fast: false matrix: - rust: [nightly, beta, stable, 1.32.0] - include: - - rust: 1.31.0 - rustflags: --cfg no_literal_matcher + rust: [nightly, beta, stable, 1.45.0] steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - run: cargo test - env: - RUSTFLAGS: ${{matrix.rustflags}} + + msrv: + name: Rust 1.31.0 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: dtolnay/rust-toolchain@1.31.0 + - run: cargo test --test test_item minimal: name: Minimal versions @@ -33,3 +36,11 @@ jobs: - uses: dtolnay/rust-toolchain@nightly - run: cargo -Z minimal-versions generate-lockfile - run: cargo check --locked + + clippy: + name: Clippy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: dtolnay/rust-toolchain@clippy + - run: cargo clippy -- -Dclippy::all |