workflow: try running on nixos host
This commit is contained in:
@@ -7,21 +7,20 @@ on:
|
||||
|
||||
jobs:
|
||||
build-docker:
|
||||
runs-on: devenv
|
||||
runs-on: nixos
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
# - name: Install nix
|
||||
# uses: cachix/install-nix-action@v31
|
||||
# - name: Setup cachix cache for devenv
|
||||
# uses: cachix/cachix-action@v16
|
||||
# with:
|
||||
# name: devenv
|
||||
# - name: Install devenv.sh
|
||||
# run: nix profile install nixpkgs#devenv
|
||||
|
||||
# - name: Build the devenv shell and run any pre-commit hooks
|
||||
# run: devenv test
|
||||
- name: Setup cachix cache for devenv
|
||||
uses: cachix/cachix-action@v16
|
||||
with:
|
||||
name: devenv
|
||||
- name: Install devenv.sh
|
||||
run: nix profile install nixpkgs#devenv
|
||||
- name: Build the devenv shell and run any pre-commit hooks
|
||||
run: devenv test
|
||||
|
||||
- name: Log in to Docker registry
|
||||
shell: devenv shell bash -- -e {0}
|
||||
|
||||
Reference in New Issue
Block a user