-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (39 loc) · 966 Bytes
/
test.yml
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
name: Test
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.22.x
- run: make test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.22.x
- uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2023.1"
install-go: false
test-alpine:
runs-on: ubuntu-latest
steps:
- uses: jirutka/setup-alpine@v1
with:
branch: latest-stable
packages: make gcc musl-dev go~=1.22 python3 bash git
- run: cat /etc/alpine-release
shell: alpine.sh {0}
- name: Checkout
uses: actions/checkout@v2
- run: make test_bash
shell: alpine.sh {0}