Skip to content

Commit

Permalink
internal/ci: fixed CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Nov 14, 2023
1 parent 7464c24 commit 26940dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-revisions_oss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Checkout origin/master
run: git checkout origin/master
- name: Create revisions from master
run: go run main.go migrate apply --dir file://internal/cmdapi/testdata/sqlite --url sqlite://db?_fk=1
run: go run . migrate apply --dir file://internal/cmdapi/testdata/sqlite --url sqlite://db?_fk=1
working-directory: cmd/atlas
- name: Checkout previous HEAD
run: git checkout -
- name: Migrate revisions table to HEAD
run: go run main.go migrate apply --dir file://internal/cmdapi/testdata/sqlite --url sqlite://db?_fk=1
run: go run . migrate apply --dir file://internal/cmdapi/testdata/sqlite --url sqlite://db?_fk=1
working-directory: cmd/atlas
4 changes: 2 additions & 2 deletions internal/ci/ci_revisions.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Checkout origin/master
run: git checkout origin/master
- name: Create revisions from master
run: go run {{ with $.Tags }}-tags={{ . }} {{ end }}main.go migrate apply --dir file://internal/cmdapi/testdata/sqlite --url sqlite://db?_fk=1
run: go run {{ with $.Tags }}-tags={{ . }} {{ end }}. migrate apply --dir file://internal/cmdapi/testdata/sqlite --url sqlite://db?_fk=1
working-directory: cmd/atlas
- name: Checkout previous HEAD
run: git checkout -
- name: Migrate revisions table to HEAD
run: go run {{ with $.Tags }}-tags={{ . }} {{ end }}main.go migrate apply --dir file://internal/cmdapi/testdata/sqlite --url sqlite://db?_fk=1
run: go run {{ with $.Tags }}-tags={{ . }} {{ end }}. migrate apply --dir file://internal/cmdapi/testdata/sqlite --url sqlite://db?_fk=1
working-directory: cmd/atlas

0 comments on commit 26940dd

Please sign in to comment.