Skip to content

Commit

Permalink
update some workflow steps
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 2, 2021
1 parent 3c6a2d4 commit fe85a37
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/default.cue
Expand Up @@ -17,11 +17,14 @@ ghacue.#Workflow & {
name: "Checkout code"
uses: "actions/checkout@v2"
},{
name: "Build hof"
run: """
go mod download
GOOS=${{ matrix.os }} go build ./cmd/hof
"""
name: "Download mods"
run: "go mod download"
},{
name: "Build CLI"
run: "go build ./cmd/hof -o hof"
},{
name: "Run tests"
run: "./hof test test.cue"
}]
}
}
10 changes: 6 additions & 4 deletions .github/workflows/default.yml
Expand Up @@ -21,8 +21,10 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Build hof
run: |-
go mod download
GOOS=${{ matrix.os }} go build ./cmd/hof
- name: Download mods
run: go mod download
- name: Build CLI
run: go build ./cmd/hof -o hof
- name: Run tests
run: ./hof test test.cue
services: {}

0 comments on commit fe85a37

Please sign in to comment.