Skip to content

build(deps): bump github.com/gookit/goutil from 0.6.16 to 0.6.18 (#90) #16

build(deps): bump github.com/gookit/goutil from 0.6.16 to 0.6.18 (#90)

build(deps): bump github.com/gookit/goutil from 0.6.16 to 0.6.18 (#90) #16

Workflow file for this run

name: CodeCheck
on:
pull_request:
paths:
- 'go.mod'
- '**.go'
- '**.yml'
push:
paths:
- '**.go'
- 'go.mod'
- '**.yml'
jobs:
test:
name: Static check and lint check
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Go Faster
uses: WillAbides/[email protected]
timeout-minutes: 3
with:
go-version: "1.21"
- name: Revive lint check
uses: docker://morphy/revive-action:v2.5.5
with:
# Exclude patterns, separated by semicolons (optional)
exclude: "./_examples/...;./testdata/..."
- name: Run static check
uses: reviewdog/action-staticcheck@v1
if: ${{ github.event_name == 'pull_request'}}
with:
github_token: ${{ secrets.github_token }}
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
reporter: github-pr-check
# Report all results. [added,diff_context,file,nofilter].
filter_mode: added
# Exit with 1 when it find at least one finding.
fail_on_error: true