Skip to content

chore(deps): bump actions/cache from 3 to 4 #712

chore(deps): bump actions/cache from 3 to 4

chore(deps): bump actions/cache from 3 to 4 #712

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go go1.19
uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
run: |
go env
go mod tidy -v
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
with:
args: "--out-${NO_FUTURE}format colored-line-number"
skip-build-cache: false
skip-cache: false
skip-pkg-cache: false
github-token: ${{ secrets.GITHUB_TOKEN }}
only-new-issues: false