Skip to content

refactor: Extract request parser #34

refactor: Extract request parser

refactor: Extract request parser #34

name: pull-runtime-watcher
on: [pull_request, workflow_dispatch]
jobs:
lint-build-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./runtime-watcher
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
args: --verbose
working-directory: ./runtime-watcher
- name: Build
run: go build -v -o bin/webhook main.go
- name: Test
run: make test