Skip to content

Commit

Permalink
fixed go-version
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkermichael committed Feb 22, 2023
1 parent e12a16e commit fd0169b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/terraform-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit fd0169b

Please sign in to comment.