Skip to content

deps: update actions/checkout action to v4.2.2 #329

deps: update actions/checkout action to v4.2.2

deps: update actions/checkout action to v4.2.2 #329

Workflow file for this run

name: lint
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
lint:
name: lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Go environment
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: "stable"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0
- uses: katexochen/go-tidy-check@427c8c07d3d83ab8d7290cad04ce71c12eab3674 # v2.0.1
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
with:
severity: info
- name: Run Actionlint
shell: bash
run: |
go install github.com/rhysd/actionlint/cmd/actionlint@latest
actionlint
- name: Run govulncheck
shell: bash
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
GOMEMLIMIT=5GiB govulncheck ./...