-
Notifications
You must be signed in to change notification settings - Fork 351
37 lines (37 loc) · 1.07 KB
/
master.yaml
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
name: master
on:
push:
branches:
- master
permissions: {}
env:
TESTCONTAINERS_RYUK_DISABLED: true
jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
go-version: "^1.21"
check-latest: true
- run: go version
- run: make deps
- run: make check-fmt
- run: make vet
- run: make staticcheck
- run: make check-race
- run: make osv-scanner
- run: make govulncheck
- run: make capslock
- run: make coverprofile
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@c680c0f7c7442485f1749eb2a13e54a686e76eb5
- name: Coveralls
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov