Skip to content

style: pre-commit autoupdate (#119) #1

style: pre-commit autoupdate (#119)

style: pre-commit autoupdate (#119) #1

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@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Run lint
uses: golangci/golangci-lint-action@v3
unit-test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
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@v1
- name: Run unit tests
run: just unit-test
env:
KIND_CLUSTER_NAME: switchboard-tests
- name: Upload coverage
uses: codecov/codecov-action@v3