From acd75391dc50bc647e449762325413762c32d004 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Fri, 26 Apr 2024 15:45:33 -0500 Subject: [PATCH] Minor tidy of CI and DocC catalog --- .github/workflows/test.yml | 41 +++++++++---------- .../vapor-postgreskit-logo.svg | 0 2 files changed, 20 insertions(+), 21 deletions(-) rename Sources/PostgresKit/Docs.docc/{images => Resources}/vapor-postgreskit-logo.svg (100%) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a275081..4bc22a8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,6 @@ env: POSTGRES_PASSWORD_B: 'test_password' jobs: - # Check for API breakage versus main api-breakage: if: ${{ github.event_name == 'pull_request' && !(github.event.pull_request.draft || false) }} runs-on: ubuntu-latest @@ -76,26 +75,26 @@ jobs: with: codecov_token: ${{ secrets.CODECOV_TOKEN }} - gh-codeql: - if: ${{ false && !(github.event.pull_request.draft || false) }} - runs-on: ubuntu-latest - container: - image: swift:5.10-jammy - permissions: { actions: write, contents: read, security-events: write } - timeout-minutes: 60 - steps: - - name: Check out code - uses: actions/checkout@v4 - - name: Mark repo safe in non-fake global config - run: | - git config --global --add safe.directory "${GITHUB_WORKSPACE}" - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: { languages: swift } - - name: Perform build - run: swift build - - name: Run CodeQL analyze - uses: github/codeql-action/analyze@v3 +# gh-codeql: +# if: ${{ !(github.event.pull_request.draft || false) }} +# runs-on: ubuntu-latest +# container: +# image: swift:5.10-jammy +# permissions: { actions: write, contents: read, security-events: write } +# timeout-minutes: 60 +# steps: +# - name: Check out code +# uses: actions/checkout@v4 +# - name: Mark repo safe in non-fake global config +# run: | +# git config --global --add safe.directory "${GITHUB_WORKSPACE}" +# - name: Initialize CodeQL +# uses: github/codeql-action/init@v3 +# with: { languages: swift } +# - name: Perform build +# run: swift build +# - name: Run CodeQL analyze +# uses: github/codeql-action/analyze@v3 linux-unit: if: ${{ !(github.event.pull_request.draft || false) }} diff --git a/Sources/PostgresKit/Docs.docc/images/vapor-postgreskit-logo.svg b/Sources/PostgresKit/Docs.docc/Resources/vapor-postgreskit-logo.svg similarity index 100% rename from Sources/PostgresKit/Docs.docc/images/vapor-postgreskit-logo.svg rename to Sources/PostgresKit/Docs.docc/Resources/vapor-postgreskit-logo.svg