From 86d70317bf5757d361a2e987e858bd800344b67f Mon Sep 17 00:00:00 2001 From: chen quan Date: Fri, 17 Jun 2022 06:55:19 -0500 Subject: [PATCH] chore: upgrade action version (#2027) --- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/go.yml | 4 ++-- .github/workflows/release.yaml | 2 +- .github/workflows/reviewdog.yml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 516d299b..43447473 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,11 +35,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +50,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -64,4 +64,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fc8dc0dc..7912ec60 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,7 +18,7 @@ jobs: id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get dependencies run: | @@ -46,7 +46,7 @@ jobs: go-version: ^1.15 - name: Checkout codebase - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Test run: | diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index be7d5159..bffa9c63 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ jobs: - goarch: "386" goos: darwin steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: zeromicro/go-zero-release-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 43a92646..415b567e 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -5,7 +5,7 @@ jobs: name: runner / staticcheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: reviewdog/action-staticcheck@v1 with: github_token: ${{ secrets.github_token }}