Skip to content

Commit

Permalink
add: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fanchann committed May 14, 2024
1 parent afccd11 commit 1e2d196
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/go-starter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "go-starter"

on:
push:
branches:
- developments/3.5
# - master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup go
uses: actions/setup-go@v4
with:
go-version: '1.22.x'
- run: |
mkdir -p gen
- name: run app
run: |
go build -o gen/go-starter main.go
./gen/go-starter
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[AUTO] ${{ github.sha }}"
branch: master
commit_options: '--no-verify --signoff'
repository: .
skip_dirty_check: true
skip_fetch: true
skip_checkout: true
disable_globbing: true
create_branch: true

0 comments on commit 1e2d196

Please sign in to comment.