From 329188df82daf5a5d111048281c8a1f21109e0e9 Mon Sep 17 00:00:00 2001 From: ning2510 <48829770+ning2510@users.noreply.github.com> Date: Tue, 23 Jan 2024 15:49:11 +0800 Subject: [PATCH] ci: bump the version of actions/checkout and actions/setup-go (#302) --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/pr-check.yml | 12 ++++++------ .github/workflows/release-check.yml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bff66b1b..c9e4e947 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,10 +39,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: "1.20" diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index a923b418..ba4c9262 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -10,9 +10,9 @@ jobs: os: [ X64, ARM64 ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} # - uses: actions/cache@v2 @@ -28,9 +28,9 @@ jobs: windows-test: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.20" # - uses: actions/cache@v2 @@ -44,9 +44,9 @@ jobs: style-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.16 - name: Check License Header diff --git a/.github/workflows/release-check.yml b/.github/workflows/release-check.yml index 7c8f5fea..0e75ca1e 100644 --- a/.github/workflows/release-check.yml +++ b/.github/workflows/release-check.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check Source Branch run: python2 -c "exit(0 if '${{ github.head_ref }}'.startswith('release') or '${{ github.head_ref }}'.startswith('hotfix') else 1)"