File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Main WF"
2+
3+ on : push
4+
5+ jobs :
6+ unit-tests :
7+ runs-on : ubuntu-20.04
8+ env :
9+ TEST_RESULTS : /tmp/test-results
10+ steps :
11+ - uses : actions/checkout@v4
12+ - uses : actions/setup-go@v5
13+ with :
14+ go-version-file : ' go.mod'
15+ - name : " Install Deps"
16+ run : |
17+ go version
18+ sudo apt install libappindicator3-dev libgtk-3-dev
19+ #sudo apt install libayatana-appindicator3-dev libgtk-3-dev
20+ - name : " Run test"
21+ run : |
22+ ./build.sh -v ./...
23+ build-dry-run :
24+ runs-on : ubuntu-20.04
25+ steps :
26+ - uses : actions/checkout@v4
27+ - uses : actions/setup-go@v5
28+ with :
29+ go-version-file : ' go.mod'
30+ - uses : goreleaser/goreleaser-action@v6
31+ with :
32+ version : ' 2.7.0'
33+ args : " release --snapshot"
Original file line number Diff line number Diff line change 1+ name : " Trunk WF"
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ build-release :
13+ runs-on : ubuntu-20.04
14+ steps :
15+ - uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
18+ - uses : actions/setup-go@v5
19+ with :
20+ go-version-file : ' go.mod'
21+ - uses : goreleaser/goreleaser-action@v6
22+ with :
23+ version : ' 2.7.0'
24+ args : " release --clean"
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments