Skip to content

Commit

Permalink
Merge branch 'main' into fix/double-execution-of-ci-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti authored Dec 27, 2024
2 parents 92d5139 + 7ad6aee commit 2e8e2d5
Show file tree
Hide file tree
Showing 10 changed files with 181 additions and 177 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
run: poetry run nox -s lint:code

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: lint-python${{ matrix.python-version }}
path: .lint.txt
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
run: poetry run nox -s lint:security

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: security-python${{ matrix.python-version }}
path: .security.json
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
run: poetry run nox -s test:unit -- -- --coverage

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: coverage-python${{ matrix.python-version }}-fast
path: .coverage
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Publish Documentation

on:
on:
workflow_call:
workflow_dispatch:

Expand All @@ -23,7 +23,7 @@ jobs:
poetry run nox -s docs:multiversion
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.6.3
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
branch: gh-pages
folder: .html-documentation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: poetry run nox -s project:report -- -- --format json | tee metrics.json

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: metrics.json
path: metrics.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: poetry run nox -s test:integration -- -- --coverage --db-version ${{ matrix.exasol-version }}

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: coverage-python${{ matrix.python-version }}-slow
path: .coverage
Expand Down
4 changes: 4 additions & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@

🚨 Attention: Due to these changes, the workflows will no longer be executed if the PR comes from a branch not located in this repository.
As third-party contributions from outside forks are rare to nearly non-existent, this downside was considered a reasonable trade-off at this time.

## 🔩 Internal
* Relocked dependencies
* Update referenced github actions
6 changes: 3 additions & 3 deletions exasol/toolbox/templates/github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
run: poetry run nox -s lint:code

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: lint-python${{ matrix.python-version }}
path: .lint.txt
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
run: poetry run nox -s lint:security

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: security-python${{ matrix.python-version }}
path: .security.json
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
run: poetry run nox -s test:unit -- -- --coverage

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: coverage-python${{ matrix.python-version }}-fast
path: .coverage
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
poetry run nox -s docs:multiversion
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.6.0
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
branch: gh-pages
folder: .html-documentation
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: poetry run nox -s project:report -- -- --format json | tee metrics.json

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: metrics.json
path: metrics.json
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: poetry run nox -s test:integration -- -- --coverage --db-version ${{ matrix.exasol-version }}

- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4.5.0
with:
name: coverage-python${{ matrix.python-version }}-slow
path: .coverage
Expand Down
328 changes: 164 additions & 164 deletions poetry.lock

Large diffs are not rendered by default.

0 comments on commit 2e8e2d5

Please sign in to comment.