Skip to content

extract common pull/push part in verification github actions #40

extract common pull/push part in verification github actions

extract common pull/push part in verification github actions #40

Workflow file for this run

name: lint
on:
pull_request:
paths:
- 'components/operator/**'
- 'components/serverless/**'
- '.github/**'
types: [opened, reopened, synchronize, ready_for_review, converted_to_draft]
jobs:
operator-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go
- uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: 'components/operator'
serverless-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go
- uses: ./.github/actions/setup-libgit2
- uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: 'components/serverless'