Files
go_blog/.gitea/workflows/go.yaml
zhangchao 999e538771 go build
2024-10-24 11:25:00 +08:00

19 lines
380 B
YAML

name: Go build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test