mirror of
https://github.com/ChronosX88/yans.git
synced 2024-09-07 22:46:17 +00:00
Add basic GitHub Action workflow
This commit is contained in:
parent
7ae9a7af35
commit
796f37d55c
25
.github/workflows/go.yml
vendored
Normal file
25
.github/workflows/go.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./cmd/yans/
|
||||
|
||||
#- name: Test
|
||||
# run: go test -v ./...
|
Loading…
Reference in New Issue
Block a user