Skip to content

Bump golangci/golangci-lint-action from 4 to 5 #27

Bump golangci/golangci-lint-action from 4 to 5

Bump golangci/golangci-lint-action from 4 to 5 #27

Workflow file for this run

name: Code Quality Checks
on: [push, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out the repository
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18.x"
cache: "npm"
cache-dependency-path: ./package-lock.json
- name: Install NPM packages
run: npm ci
- name: Check that all files are formatted with Prettier
run: npx prettier --check .
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: latest
args: --timeout 5m --config=${{ github.workspace }}/.golangci.yaml -v --out-format=github-actions