forked from pdfcpu/pdfcpu
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.15 KB
/
test.yml
File metadata and controls
55 lines (49 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
fail-fast: false
matrix:
target:
- goos: js
goarch: wasm
- goos: darwin
goarch: amd64
- goos: darwin
goarch: arm64
- goos: linux
goarch: amd64
- goos: linux
goarch: arm
goarm: 7
- goos: linux
goarch: arm64
- goos: windows
goarch: amd64
go:
- '1.24.x'
- '1.25.x'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v5
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
- run: go version
- name: Go vet
run: go vet -v ./...
- name: Check coverage
uses: shogo82148/actions-goveralls@v1
with:
flag-name: Go-${{ matrix.go }}
parallel: true
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true