Skip to content

style: Pre-commit autoupdate (#171) #209

style: Pre-commit autoupdate (#171)

style: Pre-commit autoupdate (#171) #209

name: CI - Application
on:
pull_request:
paths-ignore:
- chart/**
push:
branches: [main]
paths-ignore:
- chart/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run lint
uses: golangci/golangci-lint-action@v4
unit-test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Setup Kubernetes cluster
uses: helm/[email protected]
with:
cluster_name: switchboard-tests
- name: Setup just
uses: extractions/setup-just@v2
- name: Run unit tests
run: just unit-test
env:
KIND_CLUSTER_NAME: switchboard-tests
- name: Upload coverage
uses: codecov/codecov-action@v4