Skip to content

Commit

Permalink
wf
Browse files Browse the repository at this point in the history
  • Loading branch information
led0nk committed Apr 4, 2024
1 parent 9da70b3 commit 4bf326e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
go-versions:
name: lookup Go versions
runs-on: ubuntu-latest
needs: [setup-env]
outputs:
matrix: ${{ steps.versions.outputs.matrix }}
version: ${{ steps.versions.outputs.go-mod-version }}
Expand All @@ -41,13 +42,13 @@ jobs:
matrix:
go-version: ${{ fromJSON(needs.go-versions.outputs.matrix) }}
runs-on: ubuntu-latest
needs: go-versions
needs: [go-versions]
steps:
- uses: actions/checkout@v4
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: "1.22"
check-latest: true
- name: Go test 1.21
if: startsWith( matrix.go-version , needs.go-versions.outputs.version )
Expand Down

0 comments on commit 4bf326e

Please sign in to comment.