Skip to content

build(deps): Bump golang.org/x/tools in /tools/redundantptr #6258

build(deps): Bump golang.org/x/tools in /tools/redundantptr

build(deps): Bump golang.org/x/tools in /tools/redundantptr #6258

Workflow file for this run

on: [push, pull_request]
name: linter
permissions:
contents: read
jobs:
check-generated:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: stable
cache-dependency-path: "**/go.sum"
- name: Check generated code
run: ./script/generate.sh --check
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: stable
cache-dependency-path: "**/go.sum"
- uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.12.2 # sync with version in .custom-gcl.yml
experimental: "automatic-module-directories,no-run-logs-group"
check-openapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: stable
cache-dependency-path: "**/go.sum"
- name: Check OpenAPI
run: ./script/metadata.sh update-openapi --validate
env:
CHECK_GITHUB_OPENAPI: 1
GITHUB_TOKEN: ${{ github.token }}