Reset KUBERNETES env variables to ensure there's no Kube connection f… #2158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mage | |
on: | |
push: | |
branches: [ 'main', 'release-*' ] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
env: | |
FORCE_COLOR: true | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: | |
- '1.22' | |
steps: | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Build & Test | |
run: ./mage |