From a6b9e6a7485b163ea7f9c30525206c44461e6bb2 Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Thu, 24 Mar 2022 11:58:10 +0100 Subject: [PATCH] Move Complement back after initial tests and readd timeout Make linting fail further checks Remove CodeQL --- .github/workflows/codeql-analysis.yml | 34 --------------------------- .github/workflows/tests.yml | 6 ++--- 2 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index de6c79ddc..000000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: "CodeQL" - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - language: ["go"] - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - with: - fetch-depth: 2 - - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} - - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b4decda32..2738b552f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -160,7 +160,7 @@ jobs: initial-tests-done: name: Initial tests passed if: ${{ !cancelled() }} # Run this even if prior jobs were skipped - needs: [ test, build, build_windows ] + needs: [ lint, test, build, build_windows ] runs-on: ubuntu-latest steps: - run: "true" @@ -239,8 +239,8 @@ jobs: # run Complement complement: name: "Complement (${{ matrix.label }})" - #timeout-minutes: 20 - #needs: initial-tests-done + timeout-minutes: 20 + needs: initial-tests-done runs-on: ubuntu-latest strategy: fail-fast: false