File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed
Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # Global ownership
2+ * @ andresperezl
Original file line number Diff line number Diff line change 1+ name : Go
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - name : Set up Go
12+ uses : actions/setup-go@v5
13+ with :
14+ go-version : ' stable'
15+ - name : Test
16+ run : go test -v ./...
17+
Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - main
6+ jobs :
7+ release :
8+ runs-on : ubuntu-latest
9+ permissions :
10+ contents : write
11+ steps :
12+ - uses : actions/checkout@v4
13+ - name : Set up Go
14+ uses : actions/setup-go@v5
15+ with :
16+ go-version : ' stable'
17+ - name : Create release
18+ id : release
19+ uses : go-semantic-release/action@v1
20+ with :
21+ github-token : ${{ secrets.GITHUB_TOKEN }}
22+
You can’t perform that action at this time.
0 commit comments