feat: add dotenv action to load environment variables#632
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…d badge to README
There was a problem hiding this comment.
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/envfile loaded viafalti/dotenv-action@v1to 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.
No description provided.