Skip to content

fix: bug --context not respected & cordon show namespace #5

fix: bug --context not respected & cordon show namespace

fix: bug --context not respected & cordon show namespace #5

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
packages: write
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Download dependencies
run: go mod download
- name: Run tests
run: go test ./... -v -cover
release:
name: Release Go Binary
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Release Binary
uses: wangyoucao577/go-release-action@v1.53
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "https://dl.google.com/go/go1.24.0.linux-amd64.tar.gz"
binary_name: safekubectl
asset_name: "safekubectl-${{ matrix.goos }}-${{ matrix.goarch }}"