diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index ce0fff288..23edd5995 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -13,8 +13,7 @@ jobs: audit-rust: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: rust audit - uses: actions-rs/audit-check@v1 + - uses: actions/checkout@v4 + - uses: rustsec/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59f3e4eee..7ba1c04db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: runs-on: ${{ matrix.platform.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache cargo folder uses: actions/cache@v1 @@ -50,9 +50,9 @@ jobs: path: ~/.cargo key: ${{ matrix.platform.target }}-cargo-${{ matrix.rust_version }} - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - target: ${{ matrix.platform.target }} + targets: ${{ matrix.platform.target }} toolchain: ${{ matrix.rust_version }} - name: Install Gtk (ubuntu only) @@ -108,13 +108,13 @@ jobs: !contains(matrix.platform.target, 'ios')) run: cargo $CMD test --verbose --target ${{ matrix.platform.target }} $OPTIONS --features serde,$FEATURES - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master if: ( !contains(matrix.platform.target, 'android') && !contains(matrix.platform.target, 'ios')) with: toolchain: nightly - target: ${{ matrix.platform.target }} + targets: ${{ matrix.platform.target }} components: miri - name: Run tests with miri @@ -127,7 +127,7 @@ jobs: test_tao_macros: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache cargo folder uses: actions/cache@v1 @@ -135,9 +135,7 @@ jobs: path: ~/.cargo key: ${{ matrix.platform.target }}-cargo-${{ matrix.rust_version }} - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - uses: dtolnay/rust-toolchain@stable - name: Run tests shell: bash @@ -147,12 +145,8 @@ jobs: name: fmt check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master with: toolchain: stable - - name: fmt check - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check + - run: cargo fmt --all -- --check diff --git a/.github/workflows/covector-status.yml b/.github/workflows/covector-status.yml index d3ed493fe..a2dc2c431 100644 --- a/.github/workflows/covector-status.yml +++ b/.github/workflows/covector-status.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: covector status diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 1ad0dbef8..93a9fc1f3 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -16,7 +16,7 @@ jobs: successfulPublish: ${{ steps.covector.outputs.successfulPublish }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: cargo login