Skip to content

Commit 55fb5e2

Browse files
committed
Update actions version
1 parent 3e6c8bd commit 55fb5e2

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout Code Repository
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Set up Python
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: '3.11'
3535
# Consider using pre-commit.ci for open source project
3636
- name: Run pre-commit
37-
uses: pre-commit/[email protected].0
37+
uses: pre-commit/[email protected].1
3838

3939
# With no caching at all the entire ci process takes 4m 30s to complete!
4040
test:
@@ -43,13 +43,13 @@ jobs:
4343

4444
steps:
4545
- name: Checkout Code Repository
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747

4848
- name: Set up Docker Buildx
49-
uses: docker/setup-buildx-action@v2
49+
uses: docker/setup-buildx-action@v3
5050

5151
- name: Build Docker image
52-
uses: docker/build-push-action@v4
52+
uses: docker/build-push-action@v6
5353
with:
5454
context: .
5555
# Same as docker-compose
@@ -77,10 +77,9 @@ jobs:
7777
run: docker compose -f docker-compose-local.yml run -u root --rm django coverage xml
7878

7979
- name: Upload coverage to Codecov
80-
uses: codecov/codecov-action@v3
80+
uses: codecov/codecov-action@v4
8181
with:
8282
token: ${{ secrets.CODECOV_TOKEN }}
83-
fail_ci_if_error: true
8483
verbose: true
8584

8685
- name: Tear down the Stack

.github/workflows/publish-image.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
packages: write
3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737

3838
- name: Extract metadata (tags, labels) for Docker
3939
id: meta
40-
uses: docker/metadata-action@v4
40+
uses: docker/metadata-action@v5
4141
with:
4242
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4343
tags: |
@@ -50,18 +50,18 @@ jobs:
5050
type=semver,pattern={{major}}
5151
5252
- name: Set up Docker Buildx
53-
uses: docker/setup-buildx-action@v2
53+
uses: docker/setup-buildx-action@v3
5454

5555
- name: Log in to the Container registry
5656
if: github.event_name != 'pull_request'
57-
uses: docker/login-action@v2
57+
uses: docker/login-action@v3
5858
with:
5959
registry: ${{ env.REGISTRY }}
6060
username: ${{ github.actor }}
6161
password: ${{ secrets.GITHUB_TOKEN }}
6262

6363
- name: Build and push Docker image
64-
uses: docker/build-push-action@v4
64+
uses: docker/build-push-action@v6
6565
with:
6666
context: .
6767
# Same as Makefile

0 commit comments

Comments
 (0)