Skip to content

Commit ff726c9

Browse files
committed
ci: use non-caching Go workflow; remove legacy caching workflows to avoid go.sum requirement
1 parent 616373e commit ff726c9

File tree

2 files changed

+30
-28
lines changed

2 files changed

+30
-28
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
8+
jobs:
9+
build-test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Go
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version: '1.22.x'
19+
cache: false
20+
21+
- name: Verify Go environment
22+
run: |
23+
go version
24+
go env
25+
26+
- name: Build
27+
run: go build ./...
28+
29+
- name: Test
30+
run: go test -v ./...

.github/workflows/go.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)