Skip to content

Merge pull request #7641 from mjtrangoni/fix-errcheck #8

Merge pull request #7641 from mjtrangoni/fix-errcheck

Merge pull request #7641 from mjtrangoni/fix-errcheck #8

Workflow file for this run

name: mixin
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Generate
run: make examples
- name: Check
run: make check-examples
lint:
runs-on: ubuntu-latest
name: Linters (Static Analysis) for Jsonnet (mixin)
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Format
run: |
make jsonnet-format
git diff --exit-code
- name: Linting
run: make jsonnet-lint