Skip to content

gha(deps): bump the github-actions group with 4 updates #4

gha(deps): bump the github-actions group with 4 updates

gha(deps): bump the github-actions group with 4 updates #4

Workflow file for this run

name: Linter
on:
workflow_dispatch:
push:
branches:
- '**'
pull_request:
types: [ opened, reopened ]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.x' # Version range or exact version to use
- uses: pre-commit/action@v3.0.0
golangci-lint:
strategy:
matrix:
go-version: [ 1.20.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Must be specified without patch version: we always use the latest patch version.
version: v1.51
# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true