diff --git a/.gitea/workflows/build_and_test.yml b/.gitea/workflows/build_and_test.yml index b4d36e8..1195336 100644 --- a/.gitea/workflows/build_and_test.yml +++ b/.gitea/workflows/build_and_test.yml @@ -28,9 +28,9 @@ jobs: run: tar -czf build/coverage.tar.gz build/meson-logs/coveragereport - name: Archive coverage report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: - name: docs + name: coverage_report path: build/coverage.tar.gz retention-days: 5 @@ -41,6 +41,9 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 + - name: Configure + run: just configure + - name: Static analysis run: just check @@ -51,5 +54,8 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 + - name: Configure + run: just configure + - name: Sanitize run: just sanitize diff --git a/.gitea/workflows/build_docs.yml b/.gitea/workflows/build_docs.yml index 0ac25e2..dfb05d7 100644 --- a/.gitea/workflows/build_docs.yml +++ b/.gitea/workflows/build_docs.yml @@ -2,15 +2,21 @@ name: Build Docs run-name: ${{ gitea.ref }} Build on: push: + branches: + - main jobs: build-docs: runs-on: ubuntu-latest + container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest steps: - name: Check out repository code uses: actions/checkout@v4 + - name: Configure + run: just configure + - name: Build docs run: just docs @@ -18,7 +24,7 @@ jobs: run: tar -czf build/docs.tar.gz build/docs - name: Archive docs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: docs path: build/docs.tar.gz diff --git a/.gitea/workflows/build_image.yml b/.gitea/workflows/build_image.yml index 2792231..ac67b33 100644 --- a/.gitea/workflows/build_image.yml +++ b/.gitea/workflows/build_image.yml @@ -2,6 +2,8 @@ name: Build Image run-name: ${{ gitea.ref }} Build on: push: + branches: + - main jobs: build-dev-image: