mirror of
https://github.com/TECHNOFAB11/docsonnet.git
synced 2026-02-02 23:55:10 +01:00
add github actions (#18)
* add github workflows * update go version to 1.16 to allow mac m1 build
This commit is contained in:
parent
d620eb4292
commit
6be08106d0
2 changed files with 40 additions and 0 deletions
19
.github/workflows/golangci-lint.yml
vendored
Normal file
19
.github/workflows/golangci-lint.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: golangci-lint
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
jobs:
|
||||
golangci:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue