File tree Expand file tree Collapse file tree 2 files changed +20
-25
lines changed
Expand file tree Collapse file tree 2 files changed +20
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : docker-cloud go publish
2- on : push
1+ name : docker-cloud go tests
2+ on : [push]
3+ defaults :
4+ run :
5+ working-directory : docker-cloud
36jobs :
7+ test :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - name : Set up Go
12+ uses : actions/setup-go@v3
13+ with :
14+ go-version-file : " docker-cloud/go.mod"
15+ cache-dependency-path : " docker-cloud/go.sum"
16+ cache : true
17+ - name : Build
18+ run : go build -v ./...
19+ - name : Test
20+ run : go test -v ./...
421 publish :
22+ needs : test
523 permissions :
624 id-token : write
725 runs-on : ubuntu-latest
8- defaults :
9- run :
10- working-directory : docker-cloud
1126 steps :
1227 - uses : actions/checkout@v3
1328 - name : Configure AWS Credentials
You can’t perform that action at this time.
0 commit comments