Skip to content

chore(deps): bump docker/metadata-action from 4.6.0 to 5.0.0 #697

chore(deps): bump docker/metadata-action from 4.6.0 to 5.0.0

chore(deps): bump docker/metadata-action from 4.6.0 to 5.0.0 #697

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@v3
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/[email protected]
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