Skip to content

Commit

Permalink
update to the new way that go wants you to install modules (#82)
Browse files Browse the repository at this point in the history
Co-authored-by: Farzon Lotfi <[email protected]>
  • Loading branch information
farzonl and farzonl authored Aug 14, 2022
1 parent c9589f5 commit b9b08f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
fail-fast: true
steps:
- uses: actions/checkout@v2
- run: sudo apt install golang
- run: go get -u github.com/google/addlicense
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- run: go install github.com/google/addlicense@latest
- name: Run license check
run: ${{github.workspace}}/scripts/license-check.sh

0 comments on commit b9b08f8

Please sign in to comment.