Skip to content

goenv-init: Fix use of optional variables that should not crash the calling shell if unset #479

goenv-init: Fix use of optional variables that should not crash the calling shell if unset

goenv-init: Fix use of optional variables that should not crash the calling shell if unset #479

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- "*"
pull_request:
branches:
- "*"
merge_group:
jobs:
build:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
goenv_native_ext: ["", "1"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Remove golang
run: sudo rm -rf $(which go)
- name: Run Unit Tests
run: make test
env:
GOENV_NATIVE_EXT: ${{ matrix.goenv_native_ext }}