diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index c66d4234d8..bb7880bebf 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -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