2023-08-15 12:48:58 -04:00
|
|
|
---
|
|
|
|
name: "Test"
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
|
|
|
|
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
|
|
|
|
- uses: https://github.com/cachix/cachix-action@v12
|
2023-08-15 12:48:58 -04:00
|
|
|
with:
|
|
|
|
name: ytdl-web
|
|
|
|
extraPullNames: devenv
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- name: Install devenv.sh
|
|
|
|
run: nix profile install github:cachix/devenv/latest
|
|
|
|
- run: devenv shell echo ok
|
|
|
|
- run: devenv ci
|