Skip to content

Commit

Permalink
ci: regenerate e2e fixtures when running scheduled semantic tests (#231)
Browse files Browse the repository at this point in the history
* ci: regenerate e2e fixtures when running semantic workflow to ensure it passes

* ci: run `go install`

* ci: use make command
  • Loading branch information
G-Rath authored Oct 21, 2023
1 parent 35d7b9a commit 766e079
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,24 @@ jobs:
name: generated-versions
path: pkg/semantic/fixtures/maven-versions-generated.txt

generate-e2e-fixtures:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache: true
- uses: actions/setup-node@v3

- run: make regenerate-e2e-fixtures
- uses: actions/upload-artifact@v3
with:
name: e2e-fixtures
path: fixtures/locks-e2e/

test-semantic:
runs-on: ubuntu-latest
needs:
Expand All @@ -140,6 +158,7 @@ jobs:
- generate-pypi-versions
- generate-rubygems-versions
- generate-maven-versions
- generate-e2e-fixtures
if: always()
steps:
- uses: actions/checkout@v4
Expand All @@ -150,6 +169,10 @@ jobs:
go-version-file: .go-version
cache: true

- uses: actions/download-artifact@v3
with:
name: e2e-fixtures
path: fixtures/locks-e2e/
- uses: actions/download-artifact@v3
with:
name: generated-versions
Expand Down

0 comments on commit 766e079

Please sign in to comment.