mirror of
https://github.com/jakejarvis/npqueue.git
synced 2025-04-26 03:25:22 -04:00
Test PRs action
This commit is contained in:
parent
c02fbf0883
commit
809ba05107
26
.github/workflows/test.yml
vendored
Normal file
26
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Test PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Lint
|
||||
uses: actions-contrib/golangci-lint@master
|
||||
with:
|
||||
args: run
|
||||
- name: Setup Go 1.13
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.13
|
||||
id: go
|
||||
- name: Get dependencies
|
||||
run: go mod download
|
||||
- name: Build
|
||||
run: go build -v .
|
Loading…
x
Reference in New Issue
Block a user