forked from LaconicNetwork/kompose
* change master to main in scripts and docs Changes the naming from master to main in the scripts and documentation. Do not merge unless CI passes! Signed-off-by: Charlie Drage <charlie@charliedrage.com> * remove 1.18, specify version of staticcheck --------- Signed-off-by: Charlie Drage <charlie@charliedrage.com>
19 lines
386 B
YAML
19 lines
386 B
YAML
name: lint
|
|
on:
|
|
pull_request:
|
|
jobs:
|
|
lint:
|
|
strategy:
|
|
matrix:
|
|
go: [1.18, 1.19]
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout"
|
|
uses: actions/checkout@v3
|
|
- name: "Install golang"
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- name: "Run go vet"
|
|
run: "go vet ./pkg/..." |