Compare commits

...

2 Commits

Author SHA1 Message Date
李寻欢 975b1efa87 添加actions脚本 2023-03-29 14:49:21 +08:00
李寻欢 fd4ee8a329 一个demo 2023-03-29 14:45:00 +08:00
4 changed files with 30 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

View File

@ -0,0 +1 @@
## Gitea Actions 测试仓库

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module runner_test
go 1.20

7
main.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}