eval/nixpkgs: invoke nixpkgs single Continuous Testing (CT) entry point #291
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [released] | |
pull_request: | |
jobs: | |
checkPhase: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v17 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Set up git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "ofborg" | |
- name: checkPhase | |
run: nix-shell --pure --run "cargo test" | |
nix-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v17 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: nix-build | |
run: nix-build -A ofborg.rs -A ofborg.php |