Skip to content

ci(test): add from and flags #38

ci(test): add from and flags

ci(test): add from and flags #38

Workflow file for this run

name: "Test"
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
nix-installer-tag: v0.10.0
extra-conf: |-

Check failure on line 14 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
extra-experimental-features = nix-command flakes impure-derivations
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BUILDER_TOKEN }}
- uses: gacts/run-and-post-run@v1
with:
#run: nix flake check
post: |
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
ssh-keyscan cache.tcp4.me >> ~/.ssh/known_hosts
TARGET="ssh-ng://[email protected]"
# took this filter list from cachix action
find /nix/store -mindepth 1 -maxdepth 1 -type d -not -name ".*" -not -name "*.{drv,drv.chroot,check,lock}" -print -exec nix copy --to $TARGET --from {} \;