From 1cc5af00c66f43d81889ac2ea90c8b410c28c86b Mon Sep 17 00:00:00 2001 From: Emmanuel Thompson Date: Wed, 16 Nov 2022 08:29:07 -0500 Subject: [PATCH] update github actions --- .github/workflows/main.yml | 20 ++++++++++---------- .github/workflows/pull_request.yml | 7 ++++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e06af5e..bf2e8057 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -22,7 +22,7 @@ jobs: name: Test Suite runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -37,7 +37,7 @@ jobs: name: Miri Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: toolchain: nightly @@ -49,7 +49,7 @@ jobs: name: Miri Test Big Endian runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: toolchain: nightly @@ -62,7 +62,7 @@ jobs: name: Examples runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -74,7 +74,7 @@ jobs: name: Rustfmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -90,7 +90,7 @@ jobs: name: Clippy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -106,7 +106,7 @@ jobs: name: Ensure no_std runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: toolchain: nightly @@ -117,7 +117,7 @@ jobs: name: Ensure wasm runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: toolchain: nightly @@ -135,7 +135,7 @@ jobs: options: --security-opt seccomp=unconfined steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Generate code coverage run: | diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 50bfe037..76f07e0f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5,7 +5,7 @@ jobs: name: Benchmark runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: actions-rs/toolchain@v1 @@ -13,6 +13,7 @@ jobs: profile: minimal toolchain: stable override: true - - uses: jasonwilliams/criterion-compare-action@move_to_actions + - uses: boa-dev/criterion-compare-action@v3 with: - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + branchName: ${{ github.base_ref }} + token: ${{ secrets.GITHUB_TOKEN }}