Skip to content

Commit 7807d88

Browse files
Add github workflows
1 parent f0977fe commit 7807d88

File tree

4 files changed

+24
-128
lines changed

4 files changed

+24
-128
lines changed

.github/workflows/go.yml

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

.github/workflows/golangci-lint.yml

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

.github/workflows/scorecard.yml

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

.github/workflows/tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
name: Tests
7+
jobs:
8+
test:
9+
strategy:
10+
matrix:
11+
go-version: [1.21.x, 1.22.x, 1.23.x]
12+
platform: [ubuntu-latest, macos-latest, windows-latest]
13+
runs-on: ${{ matrix.platform }}
14+
steps:
15+
- name: Install Go
16+
uses: actions/setup-go@v1
17+
with:
18+
go-version: ${{ matrix.go-version }}
19+
- name: Checkout code
20+
uses: actions/checkout@v2
21+
- name: Test
22+
run: |
23+
go version
24+
go test -race ./...

0 commit comments

Comments
 (0)