Skip to content

chore(deps): update actions/checkout action to v6 #191

chore(deps): update actions/checkout action to v6

chore(deps): update actions/checkout action to v6 #191

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
test-check:
name: runner / staticcheck (github-check)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: "testdata/go.mod"
- uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
level: info
target: ./testdata/
test-pr-review:
if: github.event_name == 'pull_request'
name: runner / staticcheck (github-pr-review)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: "testdata/go.mod"
- uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
level: error
workdir: ./testdata
reviewdog_flags: -filter-mode=file
test-go-install:
name: runner / staticcheck (use_go_install)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: "testdata/go.mod"
- uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
level: info
workdir: ./testdata
use_go_install: true