File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build project
2- on : [ push, pull_request ]
1+ name : CI
2+ on :
3+ push : {}
4+ pull_request : {}
5+ workflow_dispatch : {}
6+ permissions :
7+ contents : read
38jobs :
49 build :
5- name : Build
6- runs-on : ubuntu-latest
7- strategy :
8- fail-fast : false
9- # perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
10- matrix :
11- version :
12- - " 1.20"
13- - " 1.21"
14- steps :
15- - name : Check out source code
16- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17-
18- - name : Set up Go
19- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
20- with :
21- go-version : ${{ matrix.version }}
22-
23- - name : Test
24- run : make test
10+ uses : oapi-codegen/actions/.github/workflows/ci.yml@8ebfe4c83d051866a4af122ba602239fa3220e52 # v0.7.0
11+ with :
12+ lint_versions : ' ["1.25"]'
Load diff This file was deleted.
Load diff This file was deleted.
Original file line number Diff line number Diff line change 2626tidy :
2727 @echo " tidy..."
2828 git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && go mod tidy'
29+
30+ # Empty rule to make CI logic happy
31+ .PHONY : generate
32+ generate : ;
You can’t perform that action at this time.
0 commit comments