Skip to content

Commit 4bae2bb

Browse files
author
Russ Egan
committed
Trying get the github build to work
1 parent 3f99cc2 commit 4bae2bb

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

.github/workflows/go.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,34 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
12-
build:
13-
name: Build
11+
build-v2:
12+
name: Build v2
1413
runs-on: ubuntu-latest
1514
strategy:
1615
matrix:
17-
go: [ '^1.14', 'oldstable', 'stable' ]
16+
go: [ '^1.21', 'oldstable', 'stable' ]
1817
steps:
19-
- name: Set up Go 1.x
20-
uses: actions/setup-go@v3
18+
- uses: extractions/setup-just@v1
19+
- uses: actions/setup-go@v5
2120
with:
2221
go-version: ${{ matrix.go }}
23-
id: go
24-
25-
- name: Check out code into the Go module directory
26-
uses: actions/checkout@v2
27-
28-
- name: Debug
22+
- uses: actions/checkout@v4
23+
- name: Build
2924
run: |
30-
pwd
31-
echo ${HOME}
32-
echo ${GITHUB_WORKSPACE}
33-
echo ${GOPATH}
34-
echo ${GOROOT}
25+
just
3526
env:
3627
GOPATH: /home/runner/work/go
37-
28+
build-v1:
29+
name: Build v1
30+
runs-on: ubuntu-latest
31+
strategy:
32+
matrix:
33+
go: [ '^1.14', 'oldstable', 'stable' ]
34+
steps:
35+
- uses: actions/setup-go@v5
36+
with:
37+
go-version: ${{ matrix.go }}
38+
- uses: actions/checkout@v4
3839
- name: Build
3940
run: |
4041
mkdir -p $GOPATH/bin

0 commit comments

Comments
 (0)