Skip to content

Bump actions/checkout from 3 to 4 #612

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #612

Workflow file for this run

name: Lint
on:
- pull_request
- push
jobs:
super-linter:
name: Run Super-Linter
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Super-Linter
uses: github/[email protected]
env:
FILTER_REGEX_EXCLUDE: .*docs/.*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_GO: false # Go linting is broken for now, see: https://github.com/github/super-linter/issues/143
VALIDATE_JSCPD: false # TODO(dfurman): consider configuring this linter
golangci-lint:
name: Run golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: v1.43
check-docs:
name: Check if generated documentation is up-to-date
runs-on: ubuntu-latest
steps:
- name: Set up Go
id: go
uses: actions/setup-go@v3
with:
go-version: 1.17
- name: Checkout code
uses: actions/checkout@v4
- name: Check if generated documentation is up-to-date
run: make check-docs
check-go-mod:
name: Check Go module consistency
runs-on: ubuntu-latest
steps:
- name: Set up Go
id: go
uses: actions/setup-go@v3
with:
go-version: 1.17
- name: Checkout code
uses: actions/checkout@v4
- name: Check Go module consistency
run: make check-go-mod