Skip to content

Point inputs to a specific commit during the testing phase #33

Point inputs to a specific commit during the testing phase

Point inputs to a specific commit during the testing phase #33

Workflow file for this run

name: CI
on: push
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- run: nix eval --impure .#tests
working-directory: tests
template:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- run: sed -i 's/github:sestrella\/asdf2nix/github:sestrella\/asdf2nix\/${{ github.sha }}' templates/*/flake.nix
- run: echo "tmpdir=$(mktemp -d)" >> "$GITHUB_OUTPUT"
id: mktemp
- run: nix flake init -t ${{ github.workspace }}#default
working-directory: ${{ steps.mktemp.outputs.tmpdir }}
- run: nix develop -c python --version
working-directory: ${{ steps.mktemp.outputs.tmpdir }}