We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd043a9 commit 11568c4Copy full SHA for 11568c4
1 file changed
.github/workflows/go-validate.yml
@@ -12,6 +12,8 @@ permissions:
12
jobs:
13
get-go-version:
14
runs-on: ubuntu-latest
15
+ outputs:
16
+ go-version: ${{ steps.get-go-version.outputs.go-version }}
17
steps:
18
- uses: actions/checkout@v2
19
- name: 'Determine Go version'
@@ -29,9 +31,7 @@ jobs:
29
31
- uses: actions/setup-go@v3
30
32
with:
33
go-version: ${{ needs.get-go-version.outputs.go-version }}
- - run: |
- go version
34
- go mod tidy
+ - run: go mod tidy
35
check-lint:
36
needs:
37
- get-go-version
0 commit comments