Skip to content

Bikeshedding.... Adding in the go test output as a comment. #25

Bikeshedding.... Adding in the go test output as a comment.

Bikeshedding.... Adding in the go test output as a comment. #25

Workflow file for this run

name: Linting & pre-commit hooks
on: [push]
jobs:
golangci:
name: Run golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "~1.21" # Use the version of Go in your project
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: --config .golangci.yml
# working-directory: ./system/go-pyrfid-juke-support
pre-commit:
name: Run pre-commit hooks
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x" # Use the Python version you need
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit hooks
run: pre-commit run --all-files