Skip to content

CI: Support for flox env #9

CI: Support for flox env

CI: Support for flox env #9

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
rust:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
run: |
cd advent-of-code-2024
cargo test --verbose
devbox:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install devbox
uses: jetify-com/[email protected]
with:
project-path: "advent-of-code-2024"
enable-cache: "true"
- name: Test
run: |
cd advent-of-code-2024
devbox run test
flox:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install flox
uses: flox/install-flox-action@v2
- name: Test
run: |
cd advent-of-code-2024
zig test ./src/day01.zig