Add an action for an AI Pull Request helper #59
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: Linting | |
on: [push, pull_request] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
yamllint: | |
name: yamllint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: pip install yamllint==1.33.0 | |
- name: Lint YAML files | |
run: yamllint . | |
# Automatically uses ./.yamllint.yaml for configuration | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: './go.mod' | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v5 | |
with: | |
version: v1.55 | |
# Automatically uses ./.golangci.yml for configuration |