Skip to content

feat(lint): add pre-commit linting setup #361

feat(lint): add pre-commit linting setup

feat(lint): add pre-commit linting setup #361

Workflow file for this run

---
name: lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Install dependencies
run: go get .
- uses: pre-commit/[email protected]
codeql_analysis:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: go
- uses: github/codeql-action/autobuild@v3
- uses: github/codeql-action/analyze@v3
kustomize_can_build_deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: karancode/kustomize-github-action@master
with:
kustomize_version: 4.3.0
kustomize_build_dir: config/default
kustomize_output_file: deployment.yaml
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}