Skip to content

Commit c67152f

Browse files
authored
Security/103 update dependencies (#104)
* Update dependencies so that vulnerabilities are resolved * Update to python-toolbox 1.6.0 * matrix-exasol removed as unused * Add sonar values for projects being evaluated by CI checks * Fix pylint as was not evaluating due to pyproject.toml
1 parent 6b75b18 commit c67152f

14 files changed

+591
-375
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Setup Python & Poetry Environment
21-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
21+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2222

2323
- name: Build Artifacts
2424
run: poetry build

.github/workflows/check-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Setup Python & Poetry Environment
18-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
18+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
1919

2020
- name: Check Tag Version
2121
# make sure the pushed/created tag matched the project version

.github/workflows/checks.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Setup Python & Poetry Environment
19-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
19+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2020

2121
- name: Check Version(s)
2222
run: poetry run -- nox -s version:check
@@ -32,12 +32,16 @@ jobs:
3232
uses: actions/checkout@v4
3333

3434
- name: Setup Python & Poetry Environment
35-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
35+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
3636

3737
- name: Build Documentation
3838
run: |
3939
poetry run -- nox -s docs:build
4040
41+
- name: Link Check
42+
run: |
43+
poetry run -- nox -s links:check
44+
4145
build-matrix:
4246
name: Generate Build Matrix
4347
uses: ./.github/workflows/matrix-python.yml
@@ -55,7 +59,7 @@ jobs:
5559
uses: actions/checkout@v4
5660

5761
- name: Setup Python & Poetry Environment
58-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
62+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
5963

6064
- name: Run changelog update check
6165
run: poetry run -- nox -s changelog:updated
@@ -74,7 +78,7 @@ jobs:
7478
uses: actions/checkout@v4
7579

7680
- name: Setup Python & Poetry Environment
77-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
81+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
7882
with:
7983
python-version: ${{ matrix.python-version }}
8084

@@ -105,7 +109,7 @@ jobs:
105109
uses: actions/checkout@v4
106110

107111
- name: Setup Python & Poetry Environment
108-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
112+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
109113
with:
110114
python-version: ${{ matrix.python-version }}
111115

@@ -127,7 +131,7 @@ jobs:
127131
uses: actions/checkout@v4
128132

129133
- name: Setup Python & Poetry Environment
130-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
134+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
131135
with:
132136
python-version: ${{ matrix.python-version }}
133137

@@ -151,7 +155,7 @@ jobs:
151155
uses: actions/checkout@v4
152156

153157
- name: Setup Python & Poetry Environment
154-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
158+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
155159

156160
- name: Run format check
157161
run: poetry run -- nox -s project:format
@@ -173,7 +177,7 @@ jobs:
173177
uses: actions/checkout@v4
174178

175179
- name: Setup Python & Poetry Environment
176-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
180+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
177181
with:
178182
python-version: ${{ matrix.python-version }}
179183

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CI
22

33
on:
4-
push:
5-
branches-ignore:
6-
- "github-pages/*"
7-
- "gh-pages/*"
8-
- "main"
9-
- "master"
4+
pull_request:
5+
types: [opened, synchronize, reopened]
106
schedule:
11-
# "At 00:00 on every 7th day-of-month from 1 through 31." (https://crontab.guru)
7+
# At 00:00 on every 7th day-of-month from 1 through 31. (https://crontab.guru)
128
- cron: "0 0 1/7 * *"
139

1410
jobs:
@@ -22,5 +18,6 @@ jobs:
2218
Metrics:
2319
needs: [ CI ]
2420
uses: ./.github/workflows/report.yml
21+
secrets: inherit
2522
permissions:
2623
contents: read

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2121

2222
- name: Build Documentation
2323
run: |

.github/workflows/matrix-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2121

2222
- name: Generate matrix
2323
run: poetry run -- nox -s matrix:all

.github/workflows/matrix-exasol.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/matrix-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2121

2222
- name: Generate matrix
2323
run: poetry run -- nox -s matrix:python

.github/workflows/pr-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
ci-job:
1515
name: Checks
1616
uses: ./.github/workflows/checks.yml
17-
secrets: inherit
1817
permissions:
1918
contents: read
2019

@@ -29,5 +28,6 @@ jobs:
2928
metrics:
3029
needs: [ ci-job ]
3130
uses: ./.github/workflows/report.yml
31+
secrets: inherit
3232
permissions:
3333
contents: read

.github/workflows/report.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 0
2020

2121
- name: Setup Python & Poetry Environment
22-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
22+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2323

2424
- name: Download Artifacts
2525
uses: actions/[email protected]
@@ -32,6 +32,11 @@ jobs:
3232
- name: Validate Artifacts
3333
run: poetry run -- nox -s artifacts:validate
3434

35+
- name: Upload to sonar
36+
env:
37+
SONAR_TOKEN: "${{ secrets.SONAR_TOKEN }}"
38+
run: poetry run -- nox -s sonar:check
39+
3540
- name: Generate Report
3641
run: poetry run -- nox -s project:report -- --format json | tee metrics.json
3742

0 commit comments

Comments
 (0)