From 30300f53be3a94f2d2f519e658c35ff3de9097f3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 6 May 2026 07:05:32 +0000 Subject: [PATCH] Update GitHub Actions --- .github/workflows/beta-stable-benchmarks.yml | 4 +- .github/workflows/ci.yml | 40 ++++++++++---------- .github/workflows/deploy.yml | 8 ++-- .github/workflows/nightly.yml | 10 ++--- 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/beta-stable-benchmarks.yml b/.github/workflows/beta-stable-benchmarks.yml index 16d9a6f3f..736547f36 100644 --- a/.github/workflows/beta-stable-benchmarks.yml +++ b/.github/workflows/beta-stable-benchmarks.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: persist-credentials: false @@ -22,7 +22,7 @@ jobs: rustup install beta rustup default beta - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 with: key: beta diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0bd4c98b..111affda7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - 5432:5432 steps: - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 1 persist-credentials: false @@ -41,7 +41,7 @@ jobs: env: RUST_TOOLCHAIN_VERSION: 1.91.0 - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 with: key: linux @@ -67,7 +67,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 1 @@ -80,7 +80,7 @@ jobs: RUST_TOOLCHAIN_VERSION: beta shell: cmd - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 with: key: windows @@ -118,7 +118,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 1 @@ -139,7 +139,7 @@ jobs: - name: Install servo dependencies run: sudo apt-get install -y llvm-dev clang libx11-dev python2.7 autoconf2.13 libjemalloc-dev - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 - name: Build collector run: cargo build -p collector @@ -157,7 +157,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 1 @@ -175,7 +175,7 @@ jobs: sudo apt-get install -y linux-tools-common linux-tools-generic linux-tools-`uname -r` echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 - name: Build collector run: cargo build -p collector @@ -193,7 +193,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 1 @@ -211,7 +211,7 @@ jobs: sudo apt-get install -y linux-tools-common linux-tools-generic linux-tools-`uname -r` echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 - name: Build collector run: cargo build -p collector @@ -226,7 +226,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 1 @@ -252,7 +252,7 @@ jobs: make install echo "${PWD}/build/bin" >> $GITHUB_PATH - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 - name: Install profilers run: cargo install --version 0.4.12 cargo-llvm-lines @@ -297,7 +297,7 @@ jobs: steps: - name: Check out repository code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Install latest toolchain run: | @@ -307,7 +307,7 @@ jobs: env: RUST_TOOLCHAIN_VERSION: stable - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 - name: Build site run: cargo build --bin site @@ -350,7 +350,7 @@ jobs: steps: - name: Check out repository code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Install latest stable toolchain run: | @@ -369,7 +369,7 @@ jobs: sudo apt-get install -y linux-tools-common linux-tools-generic linux-tools-`uname -r` echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 - name: Build collector run: cargo build -p collector @@ -387,7 +387,7 @@ jobs: run: cargo build --bin site - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 - name: Install Python dependencies run: python3 -m pip install msgpack requests @@ -402,10 +402,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the source code - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v2 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0 - name: Build Docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4.2.1 with: context: . tags: rustc-perf diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e623981ae..06efb22b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,14 +19,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 1 persist-credentials: false - - uses: docker/setup-buildx-action@v2 + - uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0 - name: Build Docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4.2.1 with: context: . # Export the image to Docker to make it available in the next step @@ -36,7 +36,7 @@ jobs: cache-to: type=gha,mode=max - name: Deploy to production - uses: rust-lang/simpleinfra/github-actions/upload-docker-image@master + uses: rust-lang/simpleinfra/github-actions/upload-docker-image@e42c5d1374329b9fccf4f6f9b26ee54ea3f928f8 # master with: image: rustc-perf repository: rust-rustc-perf diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d1f9cb4c7..920e6e559 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -19,7 +19,7 @@ jobs: echo "RUSTC_PERF_VERSION=$(date +'%Y-%m-%d')" >> $GITHUB_ENV - name: Checkout the source code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 1 persist-credentials: false @@ -32,9 +32,9 @@ jobs: env: RUST_TOOLCHAIN_VERSION: stable - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: 18 @@ -45,7 +45,7 @@ jobs: npm run build - name: Compile site - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 with: command: build args: --release --bin site @@ -59,7 +59,7 @@ jobs: echo "ARCHIVE_NAME=${ARCHIVE_NAME}" >> $GITHUB_ENV - name: Create release - uses: ncipollo/release-action@v1 + uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0 with: body: Nightly release of `rustc-perf` (commit `${{ github.sha }}`, date ${{ env.RUSTC_PERF_VERSION }}) token: ${{ secrets.GITHUB_TOKEN }}