Skip to content

Commit f44973b

Browse files
committed
githuh worklofs: refactor go.yml
1 parent 09ec1d7 commit f44973b

1 file changed

Lines changed: 13 additions & 22 deletions

File tree

.github/workflows/go.yml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
1-
# This workflow will build a golang project
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3-
4-
name: Go
5-
6-
on:
7-
push:
8-
branches: [ "main" ]
9-
pull_request:
10-
branches: [ "main" ]
11-
121
jobs:
13-
14-
build:
2+
test:
153
runs-on: ubuntu-latest
164
steps:
17-
- uses: actions/checkout@v4
5+
- uses: actions/checkout@v4
6+
7+
- name: Set up Go
8+
uses: actions/setup-go@v5
9+
with:
10+
go-version: '1.25'
1811

19-
- name: Set up Go
20-
uses: actions/setup-go@v4
21-
with:
22-
go-version: '1.24.4'
12+
- name: Install Build Tools (The Gloria Arsenal)
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get install -y nasm fasm gcc clang zig
2316
24-
- name: Build
25-
run: go build -v ./...
17+
- name: Test with Race Detector
18+
run: go test -race -v ./...
2619

27-
- name: Test
28-
run: go test -v ./...

0 commit comments

Comments
 (0)