From 33e24cf6fc345649eed3b4fe394491b4a078d349 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 9 Oct 2023 10:34:58 +0800 Subject: [PATCH] chore: update GitHub Actions versions in workflow files - Update the version of `actions/checkout` from `v3` to `v4` in `.github/workflows/codeql.yml` - Update the version of `actions/checkout` from `v3` to `v4` in `.github/workflows/goreleaser.yml` - Update the version of `actions/setup-go` from `v3` to `v4` in `.github/workflows/goreleaser.yml` - Update the version of `actions/setup-go` from `v3` to `v4` in `.github/workflows/lint.yml` - Update the version of `actions/checkout` from `v3` to `v4` in `.github/workflows/lint.yml` - Update the version of `actions/setup-go` from `v3` to `v4` in `.github/workflows/testing.yml` - Update the version of `actions/checkout` from `v3` to `v4` in `.github/workflows/testing.yml` Signed-off-by: Bo-Yi Wu --- .github/workflows/codeql.yml | 2 +- .github/workflows/goreleaser.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/testing.yml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2d9bcdd..7de6fd5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 3af3a45..0e8cafa 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -14,12 +14,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 1.17 - diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 51f87bb..0436161 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,12 +16,12 @@ jobs: GOPROXY: https://proxy.golang.org steps: - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ea41103..7cd0da3 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -38,10 +38,10 @@ jobs: - uses: niden/actions-memcached@v7 - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }}