Skip to content

Commit

Permalink
Fixes the failing addlicense workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Diptorup Deb committed Nov 6, 2023
1 parent 1627149 commit 6c897b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.16'
go-version: '1.18'
- name: Install addlicense
run: |
export PATH=${PATH}:`go env GOPATH`/bin
go get -v -u github.com/google/addlicense
go install github.com/google/addlicense@latest
- name: Check license
run: |
export PATH=${PATH}:`go env GOPATH`/bin
Expand Down

0 comments on commit 6c897b2

Please sign in to comment.