diff --git a/.github/workflows/bin-ci.yml b/.github/workflows/bin-ci.yml index 1c9c3bb..1957da8 100644 --- a/.github/workflows/bin-ci.yml +++ b/.github/workflows/bin-ci.yml @@ -18,8 +18,8 @@ jobs: - name: Determine Go version id: get-go-version run: | - echo "Building with Go $(cat ./go-version)" - echo "::set-output name=go-version::$(cat ./.go-version)" + echo "Building with Go $(cat .go-version)" + echo "::set-output name=go-version::$(cat .go-version)" lint: defaults: run: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26e2f64..d78ad22 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,8 +19,8 @@ jobs: - name: Determine Go version id: get-go-version run: | - echo "Building with Go $(cat ./go-version)" - echo "::set-output name=go-version::$(cat ./.go-version)" + echo "Building with Go $(cat .go-version)" + echo "::set-output name=go-version::$(cat .go-version)" get-product-version: defaults: @@ -84,7 +84,6 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ needs.get-go-version.outputs.go-version }} - - name: Build run: | mkdir dist out extensions diff --git a/.github/workflows/terraform-ci.yml b/.github/workflows/terraform-ci.yml index e5a6b0f..b2a15e0 100644 --- a/.github/workflows/terraform-ci.yml +++ b/.github/workflows/terraform-ci.yml @@ -35,8 +35,8 @@ jobs: - name: Determine Go version id: get-go-version run: | - echo "Building with Go $(cat ./go-version)" - echo "::set-output name=go-version::$(cat ./.go-version)" + echo "Building with Go $(cat .go-version)" + echo "::set-output name=go-version::$(cat .go-version)" go-test-lint: runs-on: ubuntu-latest defaults: @@ -47,17 +47,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - name: Setup go + uses: actions/setup-go@v2 with: - go-version: ${{ steps.get-go-version.outputs.go-version }} + go-version: ${{ needs.get-go-version.outputs.go-version }} - name: lint-consul-retry run: | go install github.com/hashicorp/lint-consul-retry@latest lint-consul-retry - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v3.4.0 with: - version: v1.45 + version: v1.51 args: | --verbose only-new-issues: false