mirror of
https://github.com/lunchcat/sif.git
synced 2026-01-09 19:55:14 -08:00
Add GitHub action
This commit is contained in:
17
.github/workflows/go.yml
vendored
Normal file
17
.github/workflows/go.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Go
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20'
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
Reference in New Issue
Block a user