Skip to content

feat: add new test workflow #25

feat: add new test workflow

feat: add new test workflow #25

Workflow file for this run

name: "Lint"
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
lint-go:
name: Lint Go
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Golang with Cache
uses: magnetikonline/action-golang-cache@v4
with:
go-version: "1.20"
- name: Lint using golangci-lint
uses: golangci/golangci-lint-action@v3
with:
skip-pkg-cache: true
skip-build-cache: true
version: v1.52.2
only-new-issues: true
args: --timeout=10m --issues-exit-code=1 --sort-results ./...