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- # This workflow will build a golang project
2- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3-
4- name : Go
1+ name : Go Build and Commit
52
63on :
74 push :
85 branches : [ "master" ]
96 pull_request :
107 branches : [ "master" ]
118
12- jobs :
9+ permissions :
10+ contents : write
1311
12+ jobs :
1413 build :
1514 runs-on : ubuntu-latest
1615 steps :
1716 - uses : actions/checkout@v4
1817
1918 - name : Set up Go
20- uses : actions/setup-go@v4
19+ uses : actions/setup-go@v5
2120 with :
2221 go-version : ' 1.24'
2322
2423 - name : Build
25- run : go build -v ./...
24+ run : go build -v -o install ./...
2625
2726 - name : Test
2827 run : go test -v ./...
28+
29+ - name : Commit and Push executable
30+ uses : stefanzweifel/git-auto-commit-action@v5
31+ with :
32+ commit_message : " CI: Update fast_mtproxy build"
33+ file_pattern : fast_mtproxy
You can’t perform that action at this time.
0 commit comments