Skip to content

Stop components with manuall override #17

Stop components with manuall override

Stop components with manuall override #17

Workflow file for this run

name: radix-cluster-cleanup-pr
on:
pull_request:
branches:
- master
jobs:
build:
name: pull-request-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
platforms: |
linux/amd64
linux/arm64
test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: './radix-cluster-cleanup/go.mod'
- name: Install dependencies
run: |
cd ./radix-cluster-cleanup
go mod download
- name: Run Tests
run: |
cd ./radix-cluster-cleanup
go test -cover `go list ./...`
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version-file: './radix-cluster-cleanup/go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58.2
working-directory: './radix-cluster-cleanup'