Upgrade Go, dependencies and tools (#91) #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
paths-ignore: ['**.md'] | |
pull_request: | |
types: [opened, synchronize] | |
paths-ignore: ['**.md'] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Ensure go.mod is already tidied | |
run: go mod tidy && git diff -s --exit-code go.sum | |
- run: make lint test | |
- run: make dist | |
- run: make validate-krew-manifest |