diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 7444a3d..8faf722 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -12,13 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 - - name: Setup Rust toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + uses: actions/checkout@v4 + # - name: Setup Rust toolchain + # uses: actions-rs/toolchain@v1 + # with: + # profile: minimal + # toolchain: stable + # override: true - name: Install rustfmt run: rustup component add rustfmt - name: Perform format check @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -93,7 +93,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -116,7 +116,7 @@ jobs: - name: Test run: cargo test --locked -- --nocapture - name: Upload linux binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cargo-fixture path: target/debug/cargo-fixture @@ -128,7 +128,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -152,7 +152,7 @@ jobs: # tests must be run in one thread otherwise they attempt to overwrite each other's exe while building run: cargo test --locked -- --nocapture --test-threads=1 - name: Upload linux binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cargo-fixture-exe path: target/debug/cargo-fixture.exe @@ -164,7 +164,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Extract MSRV id: get-msrv run: echo msrv=$(yq .package.rust-version Cargo.toml -oy) | tee -a "$GITHUB_OUTPUT" @@ -197,7 +197,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -217,7 +217,7 @@ jobs: examples/http/target key: examples-${{ runner.os }}-${{ hashFiles('Cargo.lock') }} - name: Get cargo-fixture - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: cargo-fixture path: ~/.cargo/bin @@ -238,7 +238,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -258,7 +258,7 @@ jobs: examples/http/target key: examples-${{ runner.os }}-${{ hashFiles('Cargo.lock') }} - name: Get cargo-fixture - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: cargo-fixture-exe path: ~/.cargo/bin