Skip to content

Update linters and workflows #97

Update linters and workflows

Update linters and workflows #97

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
defaults:
run:
shell: bash
concurrency:
group: ${{ github.ref_name }}-lint
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Golang Environment
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Lint Code
uses: golangci/golangci-lint-action@v6
with:
only-new-issues: true
actionlint:
name: Actionlint
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: reviewdog/action-actionlint@v1
with:
actionlint_flags: -shellcheck ""