Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo committed Oct 1, 2024
1 parent db1372c commit 612c752
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install python dependencies
run: pip install -r requirements.txt -r dev-requirements.txt

- name: Run pre-commit checks
uses: pre-commit/[email protected].0
uses: pre-commit/[email protected].1

build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Pull existing images
run: docker compose pull
Expand All @@ -39,7 +39,7 @@ jobs:
run: docker save "$DOCKER_IMAGE_NAME" | gzip > image.tar.gz

- name: Upload docker image for other jobs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: image
path: image.tar.gz
Expand All @@ -49,7 +49,7 @@ jobs:
needs: build
steps:
- name: Download docker image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image

Expand All @@ -64,10 +64,10 @@ jobs:
needs: build
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download docker image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image

Expand All @@ -82,10 +82,10 @@ jobs:
needs: build
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download docker image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image

Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- test-docker-compose
steps:
- name: Download docker image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image

Expand Down

0 comments on commit 612c752

Please sign in to comment.