Skip to content

Bump actions/checkout from 3.6.0 to 4.0.0 #59

Bump actions/checkout from 3.6.0 to 4.0.0

Bump actions/checkout from 3.6.0 to 4.0.0 #59

Workflow file for this run

name: CI
on:
push:
branches: [master, staging, trying, release-*]
pull_request:
branches: [master, release-*]
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.67.1
steps:
- uses: actions/[email protected]
- uses: swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo check --all-features
test:
needs: [check]
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.67.1
steps:
- uses: actions/[email protected]
- uses: swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --all-features
clippy:
needs: [check]
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.67.1
steps:
- uses: actions/[email protected]
- uses: swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy
- run: cargo clippy --all-features
fmt:
name: Formatting
needs: [check]
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.67.1
steps:
- uses: actions/[email protected]
- uses: swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
- run: cargo fmt --all -- --check
# We need some "accummulation" job here because bors fails (timeouts) to
# listen on matrix builds.
# Hence, we have some kind of dummy here that bors can listen on
ci-success:
name: CI
if: ${{ success() }}
runs-on: ubuntu-latest
needs:
- check
- test
- clippy
- fmt
steps:
- name: CI succeeded
run: exit 0