build(deps): bump github.com/tidwall/gjson from 1.17.1 to 1.18.0 (#86) #456
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
# .github/workflows/main.yml | |
name: Test & Lint | |
on: | |
workflow_call: | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
cache-dependency-path: | | |
go.sum | |
tools/go.sum | |
- run: sudo apt-get update && sudo apt install -y libxml2-dev libxslt1-dev liblzma-dev zlib1g-dev | |
- run: make test | |
- uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Go Test Results | |
path: .test/reports/**-test.xml | |
reporter: java-junit | |
fail-on-error: 'true' | |
- uses: actions/upload-artifact@v4 | |
if: success() || failure() | |
with: | |
name: Test Reports | |
path: .test/reports/** | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
check-latest: true | |
cache-dependency-path: | | |
go.sum | |
tools/go.sum | |
- run: | | |
sudo apt-get install libxml2-dev libxslt1-dev | |
- run: make lint |