Skip to content

Commit 46d2223

Browse files
committed
chore: update workflows
1 parent 3bb073d commit 46d2223

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/go-cross.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ jobs:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616

1717
steps:
18-
# https://github.com/marketplace/actions/checkout
19-
- name: Checkout code
20-
uses: actions/checkout@v4
21-
22-
# https://github.com/marketplace/actions/setup-go-environment
23-
- name: Set up Go ${{ matrix.go-version }}
24-
uses: actions/setup-go@v5
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-go@v5
2520
with:
2621
go-version: ${{ matrix.go-version }}
2722

.github/workflows/main.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,8 @@ jobs:
1717
CGO_ENABLED: 0
1818

1919
steps:
20-
# https://github.com/marketplace/actions/checkout
21-
- name: Check out code
22-
uses: actions/checkout@v4
23-
with:
24-
fetch-depth: 0
25-
26-
# https://github.com/marketplace/actions/setup-go-environment
27-
- name: Set up Go ${{ env.GO_VERSION }}
28-
uses: actions/setup-go@v5
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-go@v5
2922
with:
3023
go-version: ${{ env.GO_VERSION }}
3124

0 commit comments

Comments
 (0)