From b6376b283354555d8dd53812115185aec47afd5f Mon Sep 17 00:00:00 2001 From: David Robertson Date: Wed, 14 Sep 2022 16:54:34 +0100 Subject: [PATCH 1/3] Remove unnecessary fetch-depth: 0 --- .github/workflows/tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a5a217d01521..45f88079964e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -76,7 +76,6 @@ jobs: - uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - uses: matrix-org/setup-python-poetry@v1 with: extras: "all" From fc9d9efab34c7a600057ae724be53c4ca6585611 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Wed, 14 Sep 2022 17:00:11 +0100 Subject: [PATCH 2/3] Use poetry action (which has some caching) --- .github/workflows/tests.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45f88079964e..4801fe731697 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,9 +32,11 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - - run: pip install . - - run: scripts-dev/generate_sample_config.sh --check - - run: scripts-dev/config-lint.sh + - uses: matrix-org/setup-python-poetry@v1 + with: + extras: "all" + - run: poetry run scripts-dev/generate_sample_config.sh --check + - run: poetry run scripts-dev/config-lint.sh check-schema-delta: runs-on: ubuntu-latest From c92eab472f1fa5904a721e0359eb17155229e3f3 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Fri, 16 Sep 2022 13:43:53 +0100 Subject: [PATCH 3/3] Changelog --- changelog.d/13827.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/13827.misc diff --git a/changelog.d/13827.misc b/changelog.d/13827.misc new file mode 100644 index 000000000000..c7936b7ac858 --- /dev/null +++ b/changelog.d/13827.misc @@ -0,0 +1 @@ +Minor speedups to linting in CI.