Skip to content

chore(deps): update dependency go to v1.23.3 #2266

chore(deps): update dependency go to v1.23.3

chore(deps): update dependency go to v1.23.3 #2266

name: Reviewdog (staticcheck)
on:
workflow_call:
inputs:
jobname:
type: string
required: false
description: 'A jobname passed from the caller workflow'
default: 'reviewdog-staticcheck'
pull_request:
paths:
- '.github/actions/setup-go/action.yaml'
- '.github/actions/setup-aqua/action.yaml'
- '.github/actions/setup-reviewdog/action.yaml'
- '.github/workflows/reviewdog-staticcheck.yml'
- '.aqua.yaml'
- '.reviewdog.yml'
- 'go.mod'
- 'go.sum'
- '**.go'
permissions:
checks: write
contents: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || inputs.jobname }}
cancel-in-progress: true
jobs:
ci:
name: CI
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Go
uses: ./.github/actions/setup-go
- name: Setup Aqua
uses: ./.github/actions/setup-aqua
- name: Setup Reviewdog
id: reviewdog
uses: ./.github/actions/setup-reviewdog
- name: Reviewdog
run: reviewdog -runners 'staticcheck' -reporter '${{ steps.reviewdog.outputs.reporter }}' -diff 'git diff FETCH_HEAD' -fail-on-error
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}