[Fixes #2] Publish container to ghcr.io #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.1.1 | |
- 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.1.1 | |
- 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 |