diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml deleted file mode 100644 index 6ad1ad62..00000000 --- a/.github/workflows/audit.yaml +++ /dev/null @@ -1,69 +0,0 @@ -name: Audit - -on: - schedule: - - cron: '30 2 * * *' - -jobs: - audit: - name: Audit - runs-on: ubuntu-24.04 - timeout-minutes: 10 - - strategy: - fail-fast: false - matrix: - branch: - - '3.16' - - '3.22' - - 3.28-gdal3.6 - - 3.28-gdal3.7 - - 3.28-gdal3.8 - - 3.34-gdal3.7 - - 3.34-gdal3.8 - - 3.36-gdal3.8 - - 3.38-gdal3.8 - - steps: - # Remove Python packages with wriong version - - run: sudo apt-get remove python3-debian python3-distro-info - - uses: actions/checkout@v4 - with: - ref: ${{ matrix.branch }} - token: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }} - - - uses: camptocamp/initialise-gopass-summon-action@v2 - with: - ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}} - github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}} - - - run: python3 -m venv ~/.venv - - run: ~/.venv/bin/pip install --pre c2cciutils[audit] - - run: python3 -m pip install --pre c2cciutils[audit] - - - name: Check .tool-versions file existence - id: tool-versions - uses: andstor/file-existence-action@v3 - with: - files: .tool-versions - - uses: asdf-vm/actions/install@v3 - if: steps.tool-versions.outputs.files_exists == 'true' - - run: cat /tmp/python-build.*.log - if: failure() - - run: python --version - - - name: Snyk audit - run: ~/.venv/bin/c2cciutils-audit --branch=${{ matrix.branch }} - env: - GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }} - - name: Debug Snyk audit - run: ~/.venv/bin/c2cciutils-audit --branch=${{ matrix.branch }} || true - env: - GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }} - DEBUG: '*snyk*' - if: failure() - - name: Check ci/dpkg-versions.yaml file existence - id: dpkg-versions - uses: andstor/file-existence-action@v3 - with: - files: ci/dpkg-versions.yaml