-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (42 loc) · 934 Bytes
/
fpl.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
50
51
52
53
54
55
name: fpl
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
go-version: [1.18.x, 1.19.x]
runs-on: ubuntu-latest
name: Build
env:
GOPATH: /home/runner/go
steps:
- name: Set up Go
uses: actions/setup-go@v5.0.0
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4.1.6
- name: Get dependencies
run: |
PATH=$(go env GOPATH)/bin:$PATH
make install
- name: Spellcheck
run: |
make spell-check
- name: Lint
run: |
make lint
- name: Vet
run: |
make vet
- name: Security
run: |
make security
- name: Build
run: |
make build
- name: Test
run: |
make test