1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2024-11-21 23:55:39 +00:00
tar-split/.github/workflows/lint.yml
Vincent Batts 075c33cadf
*: mage, drop go1.1{5,6}, module updates, drop vendor
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2023-03-26 14:01:33 -04:00

32 lines
610 B
YAML

name: lint
on:
pull_request:
branches_ignore: []
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.20']
name: Linting
steps:
- uses: actions/checkout@v2
with:
path: go/src/github.com/vbatts/tar-split
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: lint
env:
GOPATH: /home/runner/work/tar-split/tar-split/go
run: |
set -x
export PATH=$GOPATH/bin:$PATH
cd go/src/github.com/vbatts/tar-split
go run mage.go -v lint