Skip to content

Commit

Permalink
chore: update GitHub Actions versions in workflow files
Browse files Browse the repository at this point in the history
- 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 <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Oct 9, 2023
1 parent 189b96f commit 33e24cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 33e24cf

Please sign in to comment.