diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c1620a..d674565 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,11 @@ on: branches: [main] pull_request: branches: [main] + paths: + - 'src/**' + - 'lib/**' + - 'test/**' + - '.github/workflows/ci.yml' jobs: build: @@ -31,13 +36,6 @@ jobs: ./zig-out/bin/zx --help || echo "Executable built successfully" shell: bash - - name: Upload build artifacts - uses: actions/upload-artifact@v4 - with: - name: temporalz-${{ matrix.os }} - path: zig-out/ - retention-days: 1 - test: name: Test (${{ matrix.os }}) runs-on: ${{ matrix.os }} @@ -54,15 +52,5 @@ jobs: with: version: 0.17.0-dev.1398+cb5635714 - - name: Download build artifacts - uses: actions/download-artifact@v4 - with: - name: temporalz-${{ matrix.os }} - path: zig-out/ - - - name: Make executable (Unix) - if: runner.os != 'Windows' - run: chmod +x zig-out/bin/temporalz - - name: Run tests run: zig build test diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a7ffb15..73ecf50 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - 'src/**' + - 'lib/**' + - '.github/workflows/docs.yml' workflow_dispatch: