We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a52596c + 96fda0e commit a108b52Copy full SHA for a108b52
.github/workflows/ci.yml
@@ -0,0 +1,30 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
8
+jobs:
9
+ build:
10
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ go-version: [ '1.22', '1.23.x' ]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Setup Go ${{ matrix.go-version }}
19
+ uses: actions/setup-go@v5
20
+ with:
21
+ go-version: ${{ matrix.go-version }}
22
23
+ - name: Build
24
+ run: go build -v ./...
25
26
+ - name: Run tests
27
+ run: |
28
+ go version
29
+ cd uaparser
30
+ go test -cover ./...
0 commit comments