添加actions脚本

This commit is contained in:
李寻欢 2023-03-29 14:49:21 +08:00
parent fd4ee8a329
commit 975b1efa87
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
name: build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: '>=1.20.1'
- run: go run main.go