0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-28 16:40:36 +00:00
git-sv/.github/workflows/ci.yml

37 lines
614 B
YAML
Raw Normal View History

2020-08-28 02:35:32 +00:00
name: ci
2020-08-28 02:31:51 +00:00
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
2021-07-31 19:53:00 +00:00
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
2020-08-28 02:31:51 +00:00
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
2021-07-31 19:53:00 +00:00
go-version: ^1.16
2020-08-28 02:31:51 +00:00
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
run: make build