Values without a backing env var should not be expanded (#368)

* Values without a backing env var should not be expanded

* Add unit tests for sourcing behavior

* Replace godotenv with shell lib
This commit is contained in:
Frederik Ring
2024-02-21 17:44:37 +01:00
committed by GitHub
parent f64aaa6e24
commit 911fc5a223
10 changed files with 123 additions and 10 deletions

21
.github/workflows/unit.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Run Unit Tests
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.22.x'
- name: Install dependencies
run: go mod download
- name: Test with the Go CLI
run: go test -v ./...