Skip to content

Commit

Permalink
ci: refactor GitHub Actions workflows
Browse files Browse the repository at this point in the history
- Reorganize the setup steps for Go in the GitHub Actions workflow

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Mar 13, 2024
1 parent 466d7e9 commit a7ade22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ jobs:
GO111MODULE: on
GOPROXY: https://proxy.golang.org
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- uses: actions/cache@v4
with:
path: |
Expand Down

0 comments on commit a7ade22

Please sign in to comment.