File tree 4 files changed +23
-250
lines changed
4 files changed +23
-250
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
tags :
6
6
- ' v*'
7
7
jobs :
8
+ test :
9
+ name : Run Tests
10
+ runs-on : depot-ubuntu-22.04-4
11
+
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
+
18
+ - name : Set up Go
19
+ uses : actions/setup-go@v5
20
+ with :
21
+ go-version : 1.x
22
+ check-latest : true
23
+ cache : true
24
+
25
+ - name : Go Test
26
+ run : |
27
+ go run main.go --version
28
+ go test -race -v -timeout 5m github.com/overmindtech/cli github.com/overmindtech/cli/tfutils
29
+
8
30
# Actually release the binaries including signing them
9
31
release :
10
32
runs-on : depot-ubuntu-22.04-32
11
33
if : ${{ github.event_name != 'pull_request' }}
34
+ needs : test
12
35
permissions :
13
36
contents : write
14
37
packages : write
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
test :
5
5
name : Run Tests
6
6
runs-on : depot-ubuntu-22.04-4
7
- env :
8
- CGO_ENABLED : 0
9
7
10
8
steps :
11
9
- name : Checkout
You can’t perform that action at this time.
0 commit comments