From 84f45be30465c6b717dc361772ed627e937f9c32 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Thu, 6 Feb 2025 16:11:18 +0900 Subject: [PATCH] github: use stable version of GitHub actions (#790) OT: It should be checkout@main to follow HEAD. Signed-off-by: Kentaro Hayashi --- .github/workflows/apt-arm.yml | 2 +- .github/workflows/apt.yml | 6 +++--- .github/workflows/macos.yml | 4 ++-- .github/workflows/stale-actions.yml | 2 +- .github/workflows/windows.yml | 2 +- .github/workflows/yum-arm.yml | 2 +- .github/workflows/yum.yml | 8 ++++---- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/apt-arm.yml b/.github/workflows/apt-arm.yml index 5a2a0dadf..3c22263dd 100644 --- a/.github/workflows/apt-arm.yml +++ b/.github/workflows/apt-arm.yml @@ -41,7 +41,7 @@ jobs: test-docker-image: arm64v8/ubuntu:noble runs-on: ubuntu-24.04-arm steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Install dependencies run: | sudo apt update diff --git a/.github/workflows/apt.yml b/.github/workflows/apt.yml index b7e57971c..79974a9b1 100644 --- a/.github/workflows/apt.yml +++ b/.github/workflows/apt.yml @@ -39,7 +39,7 @@ jobs: test-docker-image: ubuntu:noble runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Install dependencies run: | sudo apt update @@ -60,7 +60,7 @@ jobs: if: ${{ ! steps.cache-deb.outputs.cache-hit }} run: | rake apt:build APT_TARGETS=${{ matrix.rake-job }} - - uses: actions/checkout@master + - uses: actions/checkout@v4 if: ${{ ! steps.cache-deb.outputs.cache-hit }} with: path: v6-test @@ -224,7 +224,7 @@ jobs: - label: Ubuntu Noble amd64 test: downgrade-to-v4.sh steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: name: packages-${{ matrix.rake-job }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5f1768ab7..04debe32c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false runs-on: macos-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Install cmake run: | brew install cmake @@ -42,7 +42,7 @@ jobs: needs: build runs-on: macos-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: name: packages-macos diff --git a/.github/workflows/stale-actions.yml b/.github/workflows/stale-actions.yml index e6787493d..3ae20cbb8 100644 --- a/.github/workflows/stale-actions.yml +++ b/.github/workflows/stale-actions.yml @@ -7,7 +7,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 90 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 80f19301c..a83dc2d16 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -20,7 +20,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: 3.1 - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: cache msi uses: actions/cache@v4 id: cache-msi diff --git a/.github/workflows/yum-arm.yml b/.github/workflows/yum-arm.yml index b02b4c420..dc2f495df 100644 --- a/.github/workflows/yum-arm.yml +++ b/.github/workflows/yum-arm.yml @@ -34,7 +34,7 @@ jobs: test-docker-image: arm64v8/amazonlinux:2023 runs-on: ubuntu-24.04-arm steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Install dependencies run: | sudo apt update diff --git a/.github/workflows/yum.yml b/.github/workflows/yum.yml index c7daeb765..a7f0051b1 100644 --- a/.github/workflows/yum.yml +++ b/.github/workflows/yum.yml @@ -39,7 +39,7 @@ jobs: centos-stream: false runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Install dependencies run: | sudo apt update @@ -58,7 +58,7 @@ jobs: if: ${{ ! steps.cache-rpm.outputs.cache-hit }} run: | rake yum:build YUM_TARGETS=${{ matrix.rake-job }} - - uses: actions/checkout@master + - uses: actions/checkout@v4 if: ${{ ! steps.cache-rpm.outputs.cache-hit }} with: path: v6-test @@ -176,7 +176,7 @@ jobs: - label: AmazonLinux 2023 x86_64 test: downgrade-to-v4.sh steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: name: packages-${{ matrix.rake-job }} @@ -248,7 +248,7 @@ jobs: rake-job: almalinux-9 lxc-image: images:almalinux/9 steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: name: packages-${{ matrix.rake-job }}