aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDavid LeGare <legare@google.com>2022-03-02 16:21:15 +0000
committerDavid LeGare <legare@google.com>2022-03-02 16:21:15 +0000
commit91d4cbedf7f6aa53f7ab59a8007e33a1dd5d70fd (patch)
tree48d606b99293af6a54b62974e1fce1b142efe4a2 /.github
parent9a295d862978e3d29072fc3171ca28ff3f909c5d (diff)
downloadpaste-91d4cbedf7f6aa53f7ab59a8007e33a1dd5d70fd.tar.gz
Update paste to 1.0.6
Test: cd external/rust/crates && atest --host -c Change-Id: I9cd862265c9835e9a18117d88179932f096eec9d
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 19 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dc09e20..a59ee09 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,13 +20,21 @@ jobs:
toolchain: ${{matrix.rust}}
- run: cargo test
+ mintest:
+ name: Rust 1.34.0
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: dtolnay/rust-toolchain@1.34.0
+ - run: cargo test --test test_item
+
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
+ - run: cargo check
minimal:
name: Minimal versions
@@ -40,7 +48,16 @@ jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
+ if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@clippy
- - run: cargo clippy -- -Dclippy::all -Dclippy::pedantic
+ - run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
+
+ outdated:
+ name: Outdated
+ runs-on: ubuntu-latest
+ if: github.event_name != 'pull_request'
+ steps:
+ - uses: actions/checkout@v2
+ - run: cargo outdated --exit-code 1