Skip to content

Commit

Permalink
github-ci and exercises: Updated dependencies for 2024WS (#79)
Browse files Browse the repository at this point in the history
* Updated the CI to use the newest version of xu-cheng/texlive-action

* Updated the CI to use the newest version of xu-cheng/texlive-action (this time without full)

* To get the texliveaction@v2 to work a new safe directory seems to be needed

* Updated actions/checkout to the latest one (v4)

* Updated actions/upload-artifact to the latest one (v4)

* Updated actions/setup-python to the latest one (v5)

* Fixed the jupyterlab vulnerablities as recommended by dependabot
  • Loading branch information
dominik-probst authored Mar 27, 2024
1 parent ceb3ddb commit fcaaec5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/push-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run hooks again to validate they have run
uses: xu-cheng/texlive-action/full@v1
uses: xu-cheng/texlive-action@v2
with:
run: |
apk update
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
if: contains(needs.*.result, 'success')
steps:
- name: Set up Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build figures
uses: ./lecture/
Expand All @@ -49,18 +49,19 @@ jobs:
make figures
- name: Compile LaTeX document
uses: xu-cheng/texlive-action/full@v1
uses: xu-cheng/texlive-action@v2
with:
run: |
apk add make
apk add git
git config --global --add safe.directory /github/workspace
git config --global --add safe.directory /home/runner/work/KDD/KDD
cd lecture
ls -la img
make all-wo-figures
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: Lecture Slides
Expand All @@ -76,10 +77,10 @@ jobs:
if: contains(needs.*.result, 'success')
steps:
- name: Set up Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize Python 3.7
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.7

Expand All @@ -94,7 +95,7 @@ jobs:
make all
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: Exercise Archives
Expand Down
2 changes: 1 addition & 1 deletion exercise/1-Python-Pandas/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ numpy==1.24.2
sqlalchemy==1.4.48

ipython==8.11.0
jupyterlab==3.6.2
jupyterlab==3.6.7
2 changes: 1 addition & 1 deletion exercise/2-Data-Analysis-Preprocessing/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ seaborn==0.12.2
pywaffle==1.1.0

ipython==8.11.0
jupyterlab==3.6.2
jupyterlab==3.6.7
2 changes: 1 addition & 1 deletion exercise/3-Frequent-Patterns/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pandas==1.5.3
mlxtend==0.21.0

ipython==8.11.0
jupyterlab==3.6.2
jupyterlab==3.6.7
2 changes: 1 addition & 1 deletion exercise/5-Clustering/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ scikit-learn==1.2.2
matplotlib==3.7.1

ipython==8.11.0
jupyterlab==3.6.2
jupyterlab==3.6.7

0 comments on commit fcaaec5

Please sign in to comment.