Skip to content

Commit

Permalink
feat(github): bump github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle authored and laurent-laporte-pro committed Jun 17, 2024
1 parent 8010452 commit 73149af
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v5
6 changes: 3 additions & 3 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:

steps:
- name: Checkout github repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -37,7 +37,7 @@ jobs:
node-version: [18.16.1]
steps:
- name: Checkout github repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: πŸ™ Checkout GitHub repo (+ download lfs dependencies)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -39,7 +39,7 @@ jobs:
NODE_OPTIONS: --max-old-space-size=8192

- name: 🐍 Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
working-directory: dist/package

- name: πŸš€ Upload binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: AntaresWeb-${{ matrix.os }}-pkg
path: dist/package/AntaresWeb.zip
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout github repo (+ download lfs dependencies)
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
Expand Down Expand Up @@ -42,9 +42,9 @@ jobs:

steps:
- name: Checkout github repo (+ download lfs dependencies)
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
Expand All @@ -60,7 +60,7 @@ jobs:
sed -i 's/\/home\/runner\/work\/AntaREST\/AntaREST/\/github\/workspace/g' coverage.xml
- name: Archive code coverage results
if: matrix.os == 'ubuntu-20.04'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-code-coverage-report
path: coverage.xml
Expand All @@ -72,7 +72,7 @@ jobs:
os: [ ubuntu-20.04 ]
steps:
- name: Checkout github repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-20.04
needs: [ python-test, npm-test ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download python coverage report
uses: actions/download-artifact@v3
with:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,27 @@ jobs:

steps:
- name: πŸ™ Checkout GitHub repo (+ download lfs dependencies)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 🐍 Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: 🐍 Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install -r requirements.txt
pip install pyinstaller==5.6.2
- name: πŸ“¦ Packaging AntaresWebWorker
run: bash ./package_worker.sh
working-directory: scripts

- name: πŸš€ Upload binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: AntaresWebWorker
path: dist/AntaresWebWorker.exe

0 comments on commit 73149af

Please sign in to comment.