-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a github action that uses fuel.nix
to install forc
#66
Comments
Just for reference, today downstream users should already be able to use tools from fuel.nix in CI actions with something like this: jobs:
my-build-job:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
extra-substituters = https://fuellabs.cachix.org
extra-trusted-public-keys = fuellabs.cachix.org-1:3gOmll82VDbT7EggylzOVJ6dr0jgPVU/KMN6+Kf8qx8=
- run: nix shell github:fuellabs/fuel.nix#forc-0-39-0
# Following steps now have `forc` version `0.39.0` available.
- run: forc build But yes, it would be great to test latency, and perhaps provide some wrapper action that takes care of the cachix installation with the necessary binary cache etc. |
Another thought w.r.t. latency: If it turns out that relying directly on the fuellabs cache does take too long, I'd imagine there's some way to provide a docker image that provides |
This would give us an idea of whether
fuel.nix
could be a viable replacement forfuelup
in CI, in terms of latency to install forc.The text was updated successfully, but these errors were encountered: