Skip to content

Print a warning if you login but have env set (#358) #819

Print a warning if you login but have env set (#358)

Print a warning if you login but have env set (#358) #819

Workflow file for this run

name: 🧪 Unit testing
on:
push: { branches: [main] }
pull_request: { branches: [main] }
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
unit-testing:
name: Test the code
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
uses: actions/checkout@v5
- name: Install go
uses: actions/setup-go@v6
with: { go-version-file: go.mod }
- name: Run unit tests
run: go test ./...
- name: Test that the binary is executable
run: |
go build
./spacectl version