mirror of
https://github.com/singchia/frontier.git
synced 2025-09-26 20:31:25 +08:00
cicd: add github workflow ci
This commit is contained in:
21
.github/workflows/go.yml
vendored
Normal file
21
.github/workflows/go.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.22
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
Reference in New Issue
Block a user