Skip to content

Commit b9b08f8

Browse files
authored
update to the new way that go wants you to install modules (#82)
Co-authored-by: Farzon Lotfi <hi@farzon.org>
1 parent c9589f5 commit b9b08f8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/license-check.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ jobs:
1515
fail-fast: true
1616
steps:
1717
- uses: actions/checkout@v2
18-
- run: sudo apt install golang
19-
- run: go get -u github.com/google/addlicense
18+
-
19+
name: Set up Go
20+
uses: actions/setup-go@v3
21+
with:
22+
go-version: 1.19
23+
- run: go install github.com/google/addlicense@latest
2024
- name: Run license check
2125
run: ${{github.workspace}}/scripts/license-check.sh

0 commit comments

Comments
 (0)