diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1ed6865..b8eecac 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ jobs: name: cargo fmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Rust toolchain run: rustup show && rustup update && rustup component add rustfmt - name: cargo fmt @@ -15,7 +15,7 @@ jobs: name: cargo clippy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Rust toolchain run: rustup show && rustup update && rustup component add clippy - name: cargo clippy @@ -25,7 +25,7 @@ jobs: name: cargo readme runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo +stable install cargo-readme - run: cargo readme > README.md && git diff --exit-code @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: enarx/spdx@master with: licenses: Apache-2.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 765e5a6..cc39ead 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: name: sw ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Rust run: rustup toolchain install ${{ matrix.toolchain }} - name: cargo test @@ -42,7 +42,7 @@ jobs: name: hw ${{ matrix.toolchain }} ${{ matrix.profile.name }} * runs-on: [self-hosted, linux, sgx1] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Rust run: rustup toolchain install ${{ matrix.toolchain }} - name: cargo test