Skip to content

Commit 8fa6c5b

Browse files
dylanratcliffeactions-user
authored andcommitted
Clean up CLI tests and release workflows
GitOrigin-RevId: a0c6ec98185cd2ba6d50bedd20f2059fec3417de
1 parent bcd97f4 commit 8fa6c5b

File tree

4 files changed

+23
-250
lines changed

4 files changed

+23
-250
lines changed

.github/workflows/e2e.yaml

-217
This file was deleted.

.github/workflows/release.yml

+23
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,33 @@ on:
55
tags:
66
- 'v*'
77
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+
830
# Actually release the binaries including signing them
931
release:
1032
runs-on: depot-ubuntu-22.04-32
1133
if: ${{ github.event_name != 'pull_request' }}
34+
needs: test
1235
permissions:
1336
contents: write
1437
packages: write

.github/workflows/test_release.yml

-31
This file was deleted.

.github/workflows/tests.yml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ jobs:
44
test:
55
name: Run Tests
66
runs-on: depot-ubuntu-22.04-4
7-
env:
8-
CGO_ENABLED: 0
97

108
steps:
119
- name: Checkout

0 commit comments

Comments
 (0)