Skip to content

Merge https://github.com/mdouchement/standardfile #40

Merge https://github.com/mdouchement/standardfile

Merge https://github.com/mdouchement/standardfile #40

Workflow file for this run

on:
- push
- pull_request
name: golangci-lint
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
env:
GO_VERSION: "~1"
jobs:
test:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- name: Checkout code
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest