-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3269 from mapfish/better-errors-master-GSSGA-96
Better errors messages
- Loading branch information
Showing
4 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,27 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH} | ||
- run: python3 -m pip install --user --requirement=ci/requirements.txt | ||
|
||
- uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | ||
restore-keys: "pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\npre-commit-" | ||
- run: pre-commit run --all-files | ||
- run: git diff --exit-code --patch > /tmp/pre-commit.patch || true | ||
if: failure() | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Apply pre-commit fix.patch | ||
path: /tmp/pre-commit.patch | ||
retention-days: 1 | ||
if: failure() | ||
|
||
- name: Print environment information | ||
run: c2cciutils-env | ||
|
||
- name: Get tag | ||
id: tag2 | ||
uses: frabert/[email protected] | ||
|
@@ -46,6 +67,7 @@ jobs: | |
github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}} | ||
patterns: docker | ||
if: env.HAS_SECRETS == 'HAS_SECRETS' | ||
|
||
- run: gpg --export-secret-keys --armor D121AF2DFA8E140688BD968930C9B913FD42EF13 > CI.asc | ||
if: env.HAS_SECRETS == 'HAS_SECRETS' | ||
|
||
|
@@ -77,26 +99,6 @@ jobs: | |
if: env.HAS_SECRETS == 'HAS_SECRETS' | ||
- run: git diff | ||
|
||
- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH} | ||
- run: python3 -m pip install --user --requirement=ci/requirements.txt | ||
|
||
- uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | ||
restore-keys: "pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\npre-commit-" | ||
- run: pre-commit run --all-files | ||
- run: git diff --exit-code --patch > /tmp/pre-commit.patch || true | ||
if: failure() | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Apply pre-commit fix.patch | ||
path: /tmp/pre-commit.patch | ||
retention-days: 1 | ||
if: failure() | ||
- name: Print environment information | ||
run: c2cciutils-env | ||
|
||
- run: make build | ||
|
||
- run: make checks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters