Skip to content

Installs flox on GitHub Actions for the supported platforms: Linux and macOS.

License

Notifications You must be signed in to change notification settings

flox/install-flox-action

Repository files navigation

Harness the Power of Nix

Discourse   |   Documentation   |   Blog   |   Twitter

GitHub PRs Welcome GitHub tag (latest by date)

Installs flox on GitHub Actions for the supported platforms: Linux and macOS.

[Flox][website] is a virtual environment and package manager all in one. With Flox you create environments that layer and replace dependencies just where it matters, making them portable across the full software lifecycle.

Install packages from the biggest open source repository (nixpkgs) that contains more than 80.000 packages.

⭐ Getting Started

Create .github/workflows/ci.yml in your repo with the following contents:

name: "CI"

on:
  pull_request:
  push:

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:

    - name: Checkout
      uses: actions/checkout@v3

    - name: Install flox
      uses: flox/install-flox-action@v2

    - name: Build
      run: flox build

📫 Have a question? Want to chat? Ran into a problem?

We are happy to welcome you to our Discourse forum and answer your questions! You can always reach out to us directly via the flox twitter account or chat to us directly on Matrix or Discord.

🤝 Found a bug? Missing a specific feature?

Feel free to file a new issue with a respective title and description on the the flox/install-flox-action repository. If you already found a solution to your problem, we would love to review your pull request!

🪪 License

The install-flox-action is licensed under the MIT. See LICENSE.