Skip to content

Commit a0db171

Browse files
committed
updated ci.yml
1 parent bda4bf1 commit a0db171

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
on: [push, pull_request]
22
name: CI
33
jobs:
4-
# ================
5-
# TEST JOB
6-
# runs on every push and PR
7-
# runs 2x3 times (see matrix)
8-
# ================
94
test:
105
name: Test
116
strategy:
127
matrix:
13-
go-version: [1.23.x]
8+
go-version: [1.21.x]
149
platform: [ubuntu-latest]
1510
runs-on: ${{ matrix.platform }}
1611
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v4
14+
1715
- name: Install Go
18-
uses: actions/setup-go@v3
16+
uses: actions/setup-go@v5
1917
with:
2018
go-version: ${{ matrix.go-version }}
21-
- name: Checkout code
22-
uses: actions/checkout@v3
19+
20+
- name: Verify Go Version & Modules
21+
run: |
22+
go version
23+
ls -la
24+
cat go.mod || echo "go.mod not found"
25+
2326
- name: Build
2427
run: go build -v -o /dev/null .
28+
2529
- name: Test
26-
run: go test -v ./..
30+
run: go test -v ./...
31+

0 commit comments

Comments
 (0)