workflow: next try with devenv container

This commit is contained in:
2025-10-01 13:45:16 +02:00
parent fdd0210d36
commit ee576c3207

View File

@@ -7,18 +7,19 @@ on:
jobs: jobs:
build-docker: build-docker:
runs-on: nixos runs-on: ubuntu-latest
container: ghcr.io/cachix/devenv/devenv:latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install nix # - name: Install nix
uses: cachix/install-nix-action@v31 # uses: cachix/install-nix-action@v31
- name: Setup cachix cache for devenv # - name: Setup cachix cache for devenv
uses: cachix/cachix-action@v16 # uses: cachix/cachix-action@v16
with: # with:
name: devenv # name: devenv
- name: Install devenv.sh # - name: Install devenv.sh
run: nix profile install nixpkgs#devenv # run: nix profile install nixpkgs#devenv
- name: Build the devenv shell and run any pre-commit hooks - name: Build the devenv shell and run any pre-commit hooks
run: devenv test run: devenv test