File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - main
8+ pull_request :
9+
10+ concurrency :
11+ group : ci-${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ go :
16+ name : Go Build & Test (${{ matrix.os }})
17+ runs-on : ${{ matrix.os }}
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ os :
22+ - ubuntu-latest
23+ - windows-latest
24+ - macos-latest
25+ steps :
26+ - name : Checkout
27+ uses : actions/checkout@v4
28+
29+ - name : Setup Go
30+ uses : actions/setup-go@v5
31+ with :
32+ go-version-file : go.mod
33+ cache : true
34+
35+ - name : Go Build
36+ run : go build ./...
37+
38+ - name : Go Test
39+ run : go test ./... -v
40+
41+ docker :
42+ name : Docker Build Stages
43+ runs-on : ubuntu-latest
44+ steps :
45+ - name : Checkout
46+ uses : actions/checkout@v4
47+
48+ - name : Build test stage
49+ run : docker build --target test -t dynamicproxy:test .
50+
51+ - name : Build runtime image
52+ run : docker build -t dynamicproxy:ci .
You can’t perform that action at this time.
0 commit comments