Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp committed Feb 28, 2024
0 parents commit ba95c6c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: test action
28 changes: 28 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'hax'
inputs:
hax_reference:
required: true
default: "main"
hax_repository:
required: true
default: "github:hacspec/hax"
hax_flake_uri:
required: true
default: "${{ inputs.hax_repository }}/${{ inputs.hax_reference }}"
runs:
using: "composite"
steps:
- uses: DeterminateSystems/nix-installer-action@main

- name: Install & configure Cachix
run: |
nix profile install nixpkgs#cachix
cachix use hax
- name: Install binaries
run: nix profile install "$FLAKE"#hax "$FLAKE"#hax-env "$FLAKE"#fstar
env:
FLAKE: ${{ inputs.hax_flake_uri }}

- name: Setup environment variables
run: eval $(hax-env)

0 comments on commit ba95c6c

Please sign in to comment.