-
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@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
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@4e1989767862652e6ca8d3e2e61aabe6d43be28b
- name: Coveralls
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov