Skip to content

Commit

Permalink
flatten for test_mod to work(flow)
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Worm <tony@hofstadter.io>
  • Loading branch information
verdverm committed Aug 24, 2021
1 parent 94567c1 commit dd9bc15
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/default.cue
@@ -1,7 +1,7 @@
import "github.com/hofstadter-io/hof/.github/workflows/common"

common.#Workflow & {
name: "hof-test"
name: "default"
on: ["pull_request"]
jobs: test: {
steps: [ for step in common.#BuildSteps {step} ] + [{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
@@ -1,4 +1,4 @@
name: hof-test
name: default
on:
- pull_request
jobs:
Expand Down
@@ -1,7 +1,7 @@
import "github.com/hofstadter-io/hof/.github/workflows/common"

common.#Workflow & {
name: "mod-test"
name: "test_mod"
on: pull_request: {
paths: ["lib/mod/**"]
}
Expand Down
@@ -1,4 +1,4 @@
name: mod-test
name: test_mod
on:
pull_request:
paths:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -23,7 +23,7 @@ clocdev: hof.cue design schema lang lib docs test cue.mods go.mod
cloc --read-lang-def=$$HOME/hof/jumpfiles/assets/cloc_defs.txt --exclude-dir=cue.mod,vendor $^

WORKFLOWS = default \
test/mod
test_mod

.PHONY: workflow
workflows = $(addprefix workflow_, $(WORKFLOWS))
Expand Down

0 comments on commit dd9bc15

Please sign in to comment.