Skip to content

Commit 50a3e1d

Browse files
committed
Replace Travis CI with GitHub Actions
Tests on Go 1.22 and 1.24 on push and PR to master.
1 parent d4cd908 commit 50a3e1d

2 files changed

Lines changed: 21 additions & 18 deletions

File tree

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
go: ["1.22", "1.24"]
15+
name: Go ${{ matrix.go }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-go@v5
19+
with:
20+
go-version: ${{ matrix.go }}
21+
- run: go test ./...

.travis.yml

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

0 commit comments

Comments
 (0)