Skip to content

Commit

Permalink
use local build to check default example workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrunton committed Oct 3, 2020
1 parent cd31942 commit f1a2786
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local check_workflows_job = {
token: "${{ secrets.GITHUB_TOKEN }}",
}
},
steps.named('validate workflows', 'gflows check') {
steps.named('validate workflows', 'go run main.go check') {
env: {
GFLOWS_CONFIG: '.gflows/examples/default-jsonnet/config.yml'
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- name: validate workflows
env:
GFLOWS_CONFIG: .gflows/examples/default-ytt/config.yml
run: gflows check
run: go run main.go check
2 changes: 1 addition & 1 deletion .github/workflows/ex-default-jsonnet-gflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- "env":
"GFLOWS_CONFIG": ".gflows/examples/default-jsonnet/config.yml"
"name": "validate workflows"
"run": "gflows check"
"run": "go run main.go check"
"name": "gflows"
"on":
"pull_request":
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ex-default-ytt-gflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: validate workflows
env:
GFLOWS_CONFIG: .gflows/examples/default-ytt/config.yml
run: gflows check
run: go run main.go check

0 comments on commit f1a2786

Please sign in to comment.