From 8dbf490b0076e3eeb0c9337156ced87dc1a24d5c Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Sat, 27 Jan 2024 13:28:32 +0000 Subject: [PATCH] chore: upgrade checkout action to v4 --- .github/workflows/autobuild.yml | 2 +- .github/workflows/autotest.yml | 10 +++++----- .github/workflows/pr.yml | 2 +- .github/workflows/release.yml | 2 +- README.md | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 4431639..e2c4a27 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set DOCKER_REPO_NAME env run: echo DOCKER_REPO_NAME=$(basename ${GITHUB_REPOSITORY}) >> ${GITHUB_ENV} - name: Set IMAGE_TAG env diff --git a/.github/workflows/autotest.yml b/.github/workflows/autotest.yml index be17f37..b0ca354 100644 --- a/.github/workflows/autotest.yml +++ b/.github/workflows/autotest.yml @@ -55,7 +55,7 @@ jobs: # with: # time: '300s' - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set BUILD_TIME env run: echo BUILD_TIME=$(date) >> ${GITHUB_ENV} - name: Run go-release-action on test code @@ -97,7 +97,7 @@ jobs: # with: # time: '300s' - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set GO_VERSION_TAG env run: echo GO_VERSION_TAG=$(basename ${{ matrix.goversion }}) >> ${GITHUB_ENV} - name: Run go-release-action on test code @@ -127,7 +127,7 @@ jobs: goversion: ["go.mod", "./go.mod", ""] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set GO_VERSION_TAG env run: echo GO_VERSION_TAG=$(basename ${{ matrix.goversion }}) >> ${GITHUB_ENV} - name: Generate go.mod @@ -157,7 +157,7 @@ jobs: goarch: [amd64, arm64] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run go-release-action on test code uses: ./ with: @@ -185,7 +185,7 @@ jobs: compress_assets: ['auto', 'true', 'zip', 'off', 'false'] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run go-release-action on test code uses: ./ with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2764b28..20e4134 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Environment Printer uses: managedkaos/print-env@v1.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae5af61..286a591 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set DOCKER_REPO_NAME env run: echo DOCKER_REPO_NAME=$(basename ${GITHUB_REPOSITORY}) >> ${GITHUB_ENV} - name: Set IMAGE_TAG env diff --git a/README.md b/README.md index a87a2c6..e673207 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ jobs: name: release linux/amd64 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: wangyoucao577/go-release-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -115,7 +115,7 @@ jobs: - goarch: arm64 goos: windows steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: wangyoucao577/go-release-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }}