diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 410b2f6c..ced81bcb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,10 +22,8 @@ jobs: with: toolchain: stable - uses: actions/setup-go@v2 - - name: Setup Go environment variables - run: | - echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV - echo "$(go env GOPATH)/bin" >> $GITHUB_PATH + with: + go-version: 1.16 - run: sudo apt-get install -y lftp bgpdump tree - uses: actions/cache@v2 with: