Skip to content

Commit 9ed5608

Browse files
committed
add gomods tidy back
1 parent c1c2a2b commit 9ed5608

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
vm: ubuntu-latest
5151
regex: ./...
5252
steps:
53-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v4
5454
- name: Configure AWS credentials using OIDC
5555
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
5656
with:

.github/workflows/tidy.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Gomods Tidy
2+
on:
3+
push:
4+
jobs:
5+
clean-go-mods:
6+
name: Clean go mods
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Go
11+
uses: actions/setup-go@v5
12+
with:
13+
# we run it across all the packages, use framework go.mod as an example
14+
go-version-file: ./framework/go.mod
15+
- uses: extractions/setup-just@v2
16+
with:
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
just-version: '1.39.0'
19+
- name: Run gomods tidy
20+
run: just gomods-tidy-ci

0 commit comments

Comments
 (0)