Skip to content

[Fixes #2] Publish container to ghcr.io #7

[Fixes #2] Publish container to ghcr.io

[Fixes #2] Publish container to ghcr.io #7

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.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