2023-08-15 12:48:58 -04:00
|
|
|
---
|
|
|
|
name: "Test"
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
2023-08-16 15:17:22 -04:00
|
|
|
pull_request:
|
|
|
|
push:
|
2023-08-15 12:48:58 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-08-15 12:50:46 -04:00
|
|
|
- uses: https://github.com/cachix/install-nix-action@v18
|
2023-08-15 12:54:58 -04:00
|
|
|
# - uses: https://github.com/cachix/cachix-action@v12
|
|
|
|
# with:
|
|
|
|
# name: ytdl-web
|
|
|
|
# extraPullNames: devenv
|
|
|
|
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
2023-08-15 12:48:58 -04:00
|
|
|
- name: Install devenv.sh
|
2023-08-16 15:17:22 -04:00
|
|
|
run: nix-env -if https://github.com/cachix/devenv/tarball/main
|
2023-08-15 12:48:58 -04:00
|
|
|
- run: devenv shell echo ok
|
|
|
|
- run: devenv ci
|