build(deps): bump github.com/jedib0t/go-pretty/v6 from 6.5.8 to 6.5.9 #208
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: Checks | |
on: | |
push: | |
paths: | |
- "go.sum" | |
- "go.mod" | |
- "**.go" | |
- ".github/workflows/checks.yml" | |
- ".golangci.yml" | |
pull_request: | |
jobs: | |
checks: | |
name: Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.x | |
cache: false | |
- name: Lint | |
uses: golangci/golangci-lint-action@v5 | |
with: | |
version: latest | |
tidy: | |
name: Tidy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.x | |
- name: Tidy | |
shell: bash | |
run: | | |
go mod tidy | |
STATUS=$(git status --porcelain) | |
if [ ! -z "$STATUS" ]; then | |
echo "Unstaged files:" | |
echo $STATUS | |
echo "Run 'go mod tidy' and commit them" | |
exit 1 | |
fi | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.x | |
- name: Test | |
run: go test ./... |