Skip to content

Commit

Permalink
fix windows workflow cue
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 26, 2021
1 parent 3701fe4 commit 0ef11eb
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows.cue
Expand Up @@ -3,9 +3,9 @@ package workflows
import "github.com/hofstadter-io/ghacue"
import "github.com/hofstadter-io/hof/.github/workflows/common"

#Workflow: ghacue.#Workflow & {
ghacue.#Workflow & {
name: "windows"
on: _ | *["push"]
on: ["push"]
jobs: test: {
strategy: matrix: {
"go-version": ["1.16.x", "1.17.x"]
Expand Down
35 changes: 34 additions & 1 deletion .github/workflows/windows.yml
@@ -1 +1,34 @@
{}
name: windows
on:
- push
jobs:
test:
strategy:
matrix:
go-version:
- 1.16.x
- 1.17.x
os:
- windows-latest
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Download mods
run: go mod download
- name: Build CLI
run: go install ./cmd/hof
- name: Run gen tests
run: hof test test.cue -s gen -t test
- name: Run tester tests
run: hof test test/testers/api/postman.cue
- name: Run mod tests
run: hof test test.cue -s lib -t test -t mod
env:
GITHUB_TOKEN: ${{secrets.HOFMOD_TOKEN}}
GITLAB_TOKEN: ${{secrets.GITLAB_TOKEN}}

0 comments on commit 0ef11eb

Please sign in to comment.