generated from lvlcn-t/templates-golang
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 920 Bytes
/
lists.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
name: Test Lists Module
on:
push:
branches:
- main
pull_request:
paths:
- lists/**
- .github/workflows/lists.yml
permissions:
# Needed to read the content of the repository
contents: read
# Needed for the static analysis result upload
security-events: write
# Needed for golangci-lint for the only-new-issues flag
pull-requests: read
# Needed to annotate the code with the scan results > https://github.blog/2018-12-14-introducing-check-runs-and-annotations/
checks: write
defaults:
run:
shell: bash
working-directory: ./lists/...
jobs:
test:
uses: lvlcn-t/meta/.github/workflows/test.yml@main
with:
go_version_file: ./lists/go.mod
golangci_config: skip
private_go_server: ""
before_tests: ""
additional_args: -v
package: ./config
secrets:
PRIVATE_GO_SERVER_TOKEN: ${{ secrets.PRIVATE_GO_SERVER_TOKEN }}