Skip to content

Commit

Permalink
ci(selproj): add setup-go step (#1631)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel authored Mar 5, 2024
1 parent 51e661d commit 0b2a7cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- id: selproj
run: echo "project_name_suffix=$(make -s ci-selproj | tr -d '\n')" >> $GITHUB_OUTPUT
env:
Expand Down Expand Up @@ -69,6 +73,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/examples-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- id: selproj
run: echo "project_name_suffix=$(make -s ci-selproj | tr -d '\n')" >> $GITHUB_OUTPUT
env:
Expand All @@ -41,6 +45,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
go-version-file: go.mod
Expand Down

0 comments on commit 0b2a7cd

Please sign in to comment.