mirror of
https://github.com/ChronosX88/yans.git
synced 2024-11-24 20:32:19 +00:00
26 lines
369 B
YAML
26 lines
369 B
YAML
|
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 ./...
|