Update workflows to actions/checkout@v3
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Tolnay · committed by David Tolnay · parent 9f29f6b · Browse files · 1 file·+11 added−11 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+11 added−11 removed
- other:+11 added−11 removed
Provenance
- Commit
07ba7ea- Tree
407ffc9- Author
David Tolnay <dtolnay@gmail.com>- Committer
David Tolnay <dtolnay@gmail.com>- Parent
9f29f6b
1 file changed+11 added−11 removed
modified:.github/workflows/ci.yml+11 added-11 removed
11 unmodified lines121314151616171819202122232424252627283 unmodified lines323334353636373839408 unmodified lines495051525353545556579 unmodified lines6768697071717273747512 unmodified lines888990919292939495966 unmodified lines1031041051061071071081091101114 unmodified lines11611711811912012012112212312412512612712812913013013113213313413513613713813813914014114214 unmodified lines1571581591601611611621631641653 unmodified lines11 unmodified lines test: name: Test suite runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly - run: cd test_suite && cargo test --features unstable
windows: name: Test suite (windows) runs-on: windows-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly - run: cd test_suite && cargo test --features unstable -- --skip ui --exact
stable:3 unmodified lines fail-fast: false matrix: rust: [stable, beta] steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - run: cd serde && cargo build --features rc8 unmodified lines fail-fast: false matrix: os: [ubuntu, windows] steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly - run: cd serde && cargo build - run: cd serde && cargo build --no-default-features - run: cd serde && cargo build --no-default-features --features alloc9 unmodified lines msrv: name: Rust 1.13.0 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@1.13.0 - name: Get timestamp for cache id: date run: echo ::set-output name=yearmo::$(date +%Y%m)12 unmodified lines fail-fast: false matrix: rust: [1.19.0, 1.20.0, 1.21.0, 1.25.0, 1.26.0, 1.34.0] steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - run: cd serde && cargo build --no-default-features6 unmodified lines fail-fast: false matrix: rust: [1.27.0, 1.28.0] steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} # Work around failing to parse manifest because editions are unstable.4 unmodified lines derive: name: Rust 1.31.0 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@1.31.0 - run: cd serde && cargo check --no-default-features - run: cd serde && cargo check - run: cd serde_derive && cargo check
alloc: name: Rust 1.36.0 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@1.36.0 - run: cd serde && cargo build --no-default-features --features alloc
emscripten: name: Emscripten runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly - uses: actions/setup-node@v1 with: node-version: 914 unmodified lines name: Clippy runs-on: ubuntu-latest if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@clippy - run: cd serde && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedantic - run: cd serde_derive && cargo clippy -- -Dclippy::all -Dclippy::pedantic - run: cd serde_derive_internals && cargo clippy -- -Dclippy::all -Dclippy::pedantic3 unmodified lines