diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index b29b8017..ad092f96 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -13,25 +13,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: toolchain: stable override: true - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1 + uses: actions-rs/tarpaulin@60f0b12e5beec09ccca51758913f82d01889151c with: timeout: '120' out-type: 'Xml' args: '-- --test-threads 1' - name: Upload to codecov.io - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@a1ed4b322b4b38cb846afb5a0ebfa17086917d27 with: token: ${{secrets.CODECOV_TOKEN}} fail_ci_if_error: true \ No newline at end of file diff --git a/.github/workflows/daily_tests.yml b/.github/workflows/daily_tests.yml index d21d3837..5f619c65 100644 --- a/.github/workflows/daily_tests.yml +++ b/.github/workflows/daily_tests.yml @@ -17,18 +17,18 @@ jobs: - nightly steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - name: Install toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: profile: minimal toolchain: ${{ matrix.rust }} override: true - name: Run cargo test - release - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: test args: --release --all-features \ No newline at end of file diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index 5cb5d9c4..4e2371fe 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: profile: minimal toolchain: stable @@ -21,13 +21,13 @@ jobs: components: rustfmt, clippy - name: Run cargo fmt - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: fmt args: --all -- --check - name: Run cargo clippy - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: clippy args: -- -D warnings \ No newline at end of file diff --git a/.github/workflows/security_audit.yml b/.github/workflows/security_audit.yml index 9c176793..f891a0fd 100644 --- a/.github/workflows/security_audit.yml +++ b/.github/workflows/security_audit.yml @@ -17,11 +17,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: toolchain: stable override: true @@ -30,7 +30,7 @@ jobs: run: cargo install cargo-audit - name: Run cargo audit - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: audit args: --deny warnings \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ef845d3..f4900745 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,48 +31,48 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - name: Install toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: profile: minimal toolchain: ${{ matrix.rust }} override: true - name: Test debug-mode, default features - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: test - name: Test debug-mode, no default features - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: test args: --no-default-features --tests - name: Test debug-mode, alloc feature - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: test args: --no-default-features --features alloc --tests - name: Test release-mode, default features - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: test args: --release - name: Test release-mode, no default features - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: test args: --release --no-default-features --tests - name: Test release-mode, alloc feature - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: test args: --release --no-default-features --features alloc --tests @@ -83,12 +83,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - name: Install toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: toolchain: nightly target: x86_64-unknown-linux-gnu @@ -108,16 +108,16 @@ jobs: - stable - nightly steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - - uses: actions-rs/toolchain@v1 + - uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: profile: minimal toolchain: ${{ matrix.rust }} target: thumbv7em-none-eabi override: true - - uses: actions-rs/cargo@v1 + - uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: use-cross: true command: build @@ -133,15 +133,15 @@ jobs: - armv7-unknown-linux-gnueabihf - mips64-unknown-linux-gnuabi64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - - uses: actions-rs/toolchain@v1 + - uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: toolchain: stable target: ${{ matrix.arch }} override: true - - uses: actions-rs/cargo@v1 + - uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: use-cross: true command: test @@ -157,15 +157,15 @@ jobs: arch: - wasm32-unknown-unknown steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - - uses: actions-rs/toolchain@v1 + - uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: toolchain: stable target: ${{ matrix.arch }} override: true - - uses: actions-rs/cargo@v1 + - uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: check args: --no-default-features --target ${{ matrix.arch }} @@ -174,14 +174,14 @@ jobs: name: Build documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - - uses: actions-rs/toolchain@v1 + - uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: toolchain: stable override: true - - uses: actions-rs/cargo@v1 + - uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: doc args: --no-deps --all-features @@ -198,9 +198,9 @@ jobs: continue-on-error: ${{ matrix.checks == 'advisories' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: persist-credentials: false - - uses: EmbarkStudios/cargo-deny-action@v1 + - uses: EmbarkStudios/cargo-deny-action@0ca727bbae7b7b578b9a5f98186caac35aa2a00d with: command: check ${{ matrix.checks }}