Skip to content

Commit c9bee05

Browse files
committed
Update actions
1 parent f579661 commit c9bee05

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: "3.12"
1919

20-
- uses: actions/cache@v2
20+
- uses: actions/cache@v4
2121
with:
2222
path: ~/.cache/pip
2323
key: pip-3.12-${{ hashFiles('poetry.lock') }}
2424

2525
- name: Install poetry
26-
uses: abatilo/actions-poetry@v2
26+
uses: abatilo/actions-poetry@v4
2727
with:
2828
poetry-version: 1.7.1
2929

@@ -42,20 +42,20 @@ jobs:
4242
test:
4343
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v4
4646

4747
- name: Set up Python
48-
uses: actions/setup-python@v2
48+
uses: actions/setup-python@v4
4949
with:
5050
python-version: "3.12"
5151

52-
- uses: actions/cache@v2
52+
- uses: actions/cache@v4
5353
with:
5454
path: ~/.cache/pip
5555
key: pip-3.12-${{ hashFiles('poetry.lock') }}
5656

5757
- name: Install poetry
58-
uses: abatilo/actions-poetry@v2
58+
uses: abatilo/actions-poetry@v4
5959
with:
6060
poetry-version: 1.7.1
6161

@@ -71,19 +71,18 @@ jobs:
7171
- lint
7272
- test
7373
steps:
74-
- uses: actions/checkout@v2
74+
- uses: actions/checkout@v4
7575

7676
- name: Login to GitHub Container Registry
77-
uses: docker/login-action@v1
77+
uses: docker/login-action@v3
7878
if: ${{ github.ref == 'refs/heads/master' }}
7979
with:
8080
registry: ghcr.io
8181
username: ${{ github.repository_owner }}
8282
password: ${{ secrets.GITHUB_TOKEN }}
8383

8484
- name: Build and push container
85-
uses: docker/build-push-action@v2
85+
uses: docker/build-push-action@v6
8686
with:
8787
push: ${{ github.ref == 'refs/heads/master' }}
88-
tags: |
89-
ghcr.io/${{ github.repository_owner }}/heroku-scheduled-scaling:latest
88+
tags: ghcr.io/${{ github.repository_owner }}/heroku-scheduled-scaling:latest

0 commit comments

Comments
 (0)