Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: MPL-2.0

Check failure on line 1 in .envrc

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] null
# Activate development environment
# Install direnv: https://direnv.net/

Expand All @@ -20,8 +20,9 @@
# Project environment variables
export PROJECT_NAME="Haec"
export RSR_TIER="infrastructure"
# export DATABASE_URL="..."
# export API_KEY="..."
# Project secrets (DATABASE_URL, API_KEY, ...) belong in .env, which is
# gitignored and sourced below. Do not add them here: .envrc is committed,
# and assignment-shaped comments trip secret scanners.

# Source .env if it exists (gitignored)
dotenv_if_exists
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

# The pinned idris2-pack image ships no xz binary, so setup-zig's
# .tar.xz download fails with "tar (child): xz: Cannot exec".
- name: Install xz (needed to unpack the Zig tarball)
shell: bash
run: |
set -euo pipefail
if ! command -v xz >/dev/null 2>&1; then
apt-get update -qq
apt-get install -y -qq --no-install-recommends xz-utils
fi
xz --version | head -1

- name: Set up Zig
uses: goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406 # v2.2.1
with:
Expand Down
Loading