Skip to content

Fix: Explicitly set permissions for release workflow #26

Fix: Explicitly set permissions for release workflow

Fix: Explicitly set permissions for release workflow #26

Workflow file for this run

name: Lint
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
pre-commit:
# install and run locally via e.g.:
# brew install pre-commit shellcheck && pre-commit run -a
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.0
with:
go-version: '1.21'
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.0
golangci:
# install and run locally via e.g.:
# brew install golangci-lint && golangci-lint run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.0
with:
go-version: '1.21'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
args: --timeout=3m