From 2f4ca98eb66b4ccece347a3d93d05e375649dc6c Mon Sep 17 00:00:00 2001
From: Chris Raynor <cbraynor@github.com>
Date: Wed, 23 Sep 2020 11:54:42 +0100
Subject: [PATCH] Reducing the number of new builds significantly while keeping
 coverage

---
 .github/workflows/codeql.yml              |  2 --
 .github/workflows/integration-testing.yml | 11 -----------
 2 files changed, 13 deletions(-)

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 8a1d8c351..d3dda5dc6 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -10,7 +10,6 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest,windows-latest,macos-latest]
-        tools: [~, latest]
     runs-on: ${{ matrix.os }}
 
     steps:
@@ -27,7 +26,6 @@ jobs:
 
     - uses: ./init
       with:
-        tools: ${{ matrix.tools }}
         languages: javascript
         config-file: ./.github/codeql/codeql-config.yml
     - uses: ./analyze
diff --git a/.github/workflows/integration-testing.yml b/.github/workflows/integration-testing.yml
index 034ee7860..8a2a8bc6a 100644
--- a/.github/workflows/integration-testing.yml
+++ b/.github/workflows/integration-testing.yml
@@ -7,9 +7,6 @@ on:
 
 jobs:
   multi-language-repo_test-autodetect-languages:
-    strategy:
-      matrix:
-        tools: [~, latest]
     runs-on: ubuntu-latest
 
     steps:
@@ -21,8 +18,6 @@ jobs:
         mv * .github ../action/
         mv ../action/tests/multi-language-repo/{*,.github} .
     - uses: ./../action/init
-      with:
-        tools: ${{ matrix.tools }}
     - name: Build code
       shell: bash
       run: ./build.sh
@@ -78,7 +73,6 @@ jobs:
       fail-fast: false
       matrix:
         os: [ubuntu-latest, windows-latest, macos-latest]
-        tools: [~, latest]
     runs-on: ${{ matrix.os }}
 
     steps:
@@ -95,7 +89,6 @@ jobs:
         mv ../action/tests/multi-language-repo/{*,.github} .
     - uses: ./../action/init
       with:
-        tools: ${{ matrix.tools }}
         languages: go
         config-file: ./.github/codeql/custom-queries.yml
     - name: Build code
@@ -137,9 +130,6 @@ jobs:
         TEST_MODE: true
 
   test-proxy:
-    strategy:
-      matrix:
-        tools: [~, latest]
     runs-on: ubuntu-latest
     container:
       image: ubuntu:18.04
@@ -161,7 +151,6 @@ jobs:
         mv ../action/tests/multi-language-repo/{*,.github} .
     - uses: ./../action/init
       with:
-        tools: ${{ matrix.tools }}
         languages: javascript
     - uses: ./../action/analyze
       env: