Skip to content

feat: add dotenv action to load environment variables#632

Merged
creativeprojects merged 11 commits into
masterfrom
refactor-github-actions
Apr 19, 2026
Merged

feat: add dotenv action to load environment variables#632
creativeprojects merged 11 commits into
masterfrom
refactor-github-actions

Conversation

@creativeprojects
Copy link
Copy Markdown
Owner

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.99%. Comparing base (d37d8e7) to head (0a4acaf).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #632   +/-   ##
=======================================
  Coverage   80.99%   80.99%           
=======================================
  Files         162      162           
  Lines       12113    12113           
=======================================
  Hits         9810     9810           
  Misses       1806     1806           
  Partials      497      497           
Flag Coverage Δ
unittests 79.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@creativeprojects creativeprojects marked this pull request as ready for review April 19, 2026 12:34
Copilot AI review requested due to automatic review settings April 19, 2026 12:34
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures the GitHub Actions CI setup by splitting platform-specific workflows and centralizing shared tool versions via a dotenv-loaded env file.

Changes:

  • Replace the previous combined Build/BSD workflows with per-OS workflows and reusable run-tests-* workflows.
  • Introduce a shared .github/workflows/env file loaded via falti/dotenv-action@v1 to supply Go and golangci-lint versions.
  • Update README badges to reflect the new workflow layout.

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
README.md Updates CI badges to point to the new per-OS workflows.
.github/workflows/ubuntu.yml Adds Linux workflow that delegates to reusable run-tests-os.yml.
.github/workflows/macos.yml Adds macOS workflow that delegates to reusable run-tests-os.yml.
.github/workflows/windows.yml Adds Windows workflow that delegates to reusable run-tests-os.yml.
.github/workflows/ssh.yml Adds dedicated SSH client test workflow and loads shared tool versions via dotenv.
.github/workflows/run-tests-os.yml Introduces reusable workflow for building/linting/testing on host OS runners.
.github/workflows/run-tests-vm.yml Introduces reusable workflow for building tests and running them inside QEMU VMs.
.github/workflows/freebsd.yml Adds FreeBSD VM workflow that delegates to run-tests-vm.yml.
.github/workflows/netbsd.yml Adds NetBSD VM workflow that delegates to run-tests-vm.yml.
.github/workflows/openbsd.yml Adds OpenBSD VM workflow that delegates to run-tests-vm.yml.
.github/workflows/env Adds centralized Go/lint version definitions consumed by workflows via dotenv-action outputs.
.github/workflows/doc.yml Updates docs build workflow to load Go version from dotenv env file.
.github/workflows/release-doc.yml Updates docs release workflow to load Go version from dotenv env file.
.github/workflows/release.yml Updates release workflow to load Go version from dotenv env file and renames workflow.
.github/workflows/snapshot.yml Updates snapshot workflow to load Go version from dotenv env file.
.github/workflows/docker.yml Updates docker rebuild workflow to load Go version from dotenv env file and sets job name.
.github/workflows/codeql.yml Updates CodeQL workflow to load Go version from dotenv env file.
.github/workflows/build.yml Removes old combined build/test workflow (replaced by per-OS + reusable workflows).
.github/workflows/BSD-tests.yml Removes old combined BSD VM workflow (replaced by per-BSD + reusable VM workflow).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/run-tests-os.yml Outdated
Comment thread .github/workflows/env Outdated
Comment thread .github/workflows/openbsd.yml Outdated
@creativeprojects creativeprojects merged commit 1c34bd2 into master Apr 19, 2026
12 checks passed
@creativeprojects creativeprojects deleted the refactor-github-actions branch April 19, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants