diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 209d009..6c5a3a8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,28 +1,25 @@ -name: "test" +name: "Test" + on: - # Trigger the workflow on push or pull request, - # but only for the main branch push: branches: [ main, develop ] pull_request: branches: [ main, develop ] jobs: - testbuild: + test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install nix - uses: cachix/install-nix-action@v18 - with: - install_url: https://releases.nixos.org/nix/nix-2.12.0/install - extra_nix_config: | - experimental-features = flakes nix-command + uses: cachix/install-nix-action@v25 - - uses: cachix/cachix-action@v10 + - uses: cachix/cachix-action@v14 with: - name: holochain-ci + name: wsl-checked + extraPullNames: holochain-ci + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: Install NPM dependencies run: | @@ -39,4 +36,3 @@ jobs: - name: Run CLI tests run: | nix develop --command npm run test:cli -