Skip to content

Commit

Permalink
add GitHub workflow, remove circleci
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 650d6f2 commit 0539a01
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 97 deletions.
97 changes: 0 additions & 97 deletions .circleci/config.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/default.cue
@@ -0,0 +1,27 @@
import "github.com/hofstadter-io/ghacue"

ghacue.#Workflow & {
name: "hof"
on: ["push", "pull_request"]
jobs: test: {
strategy: matrix: {
"go-version": ["1.15.x", "1.16.x"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
}
"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: "Build hof"
run: """
go mod download
GOOS=${{ matrix.os }} go build ./cmd/hof
"""
}]
}
}
1 change: 1 addition & 0 deletions cue.mods
Expand Up @@ -7,5 +7,6 @@ require (
github.com/hofstadter-io/hofmod-cuefig v0.0.3
)

replace github.com/hofstadter-io/ghacue => ../ghacue
replace github.com/hofstadter-io/hofmod-cli => ../mods/cli
replace github.com/hofstadter-io/hofmod-cuefig => ../mods/cuefig
2 changes: 2 additions & 0 deletions cue.sums
Expand Up @@ -2,6 +2,8 @@ github.com/hofstadter-io/cuelib v0.0.5 h1:qvdAC7syR2NzZ45QlSfD3hNHDOiqi7eBasE8ZY
github.com/hofstadter-io/cuelib v0.0.5/cue.mods h1:cva4f8ge4Qb6GOEqa9AhdF1pIBnGwGuPda+CITwLDCs=
github.com/hofstadter-io/cuetest v0.0.2 h1:UAzHAbZYF1dPck2qQAJ4FwhVC1op7F7s+4UC0FQV7eg=
github.com/hofstadter-io/cuetest v0.0.2/cue.mods h1:KE5GytNGpbuRzzNWR5Lq7KAy04uu3fQ3hCClpF7+olE=
github.com/hofstadter-io/ghacue v0.0.0 h1:I6pZS3dsvuxH4f7l9EULpvkO+cmIBKp2f0R9EK045X8=
github.com/hofstadter-io/ghacue v0.0.0/cue.mods h1:6BbcRic6px1+lCLiW6O5dYt+GcCpnmzdpbcILHrqhOQ=
github.com/hofstadter-io/hofmod-cli v0.0.0 h1:QlL53XCCwLCzIpN6Y8n9+veyTmQH7BywSGpRaX78sAo=
github.com/hofstadter-io/hofmod-cli v0.0.0/cue.mods h1:CZbXtU+Ia+oNdgLkkVeT/Mr4AG735lmVF/ngrbbCf28=
github.com/hofstadter-io/hofmod-cli v0.3.5 h1:AKf1BeHDiVvRZLPoNC0gaRq+8H3vwnQrW/1IryOOydM=
Expand Down

0 comments on commit 0539a01

Please sign in to comment.