@@ -10,20 +10,20 @@ jobs:
10
10
lint :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
14
14
15
15
- name : Set up Python
16
- uses : actions/setup-python@v2
16
+ uses : actions/setup-python@v4
17
17
with :
18
18
python-version : " 3.12"
19
19
20
- - uses : actions/cache@v2
20
+ - uses : actions/cache@v4
21
21
with :
22
22
path : ~/.cache/pip
23
23
key : pip-3.12-${{ hashFiles('poetry.lock') }}
24
24
25
25
- name : Install poetry
26
- uses : abatilo/actions-poetry@v2
26
+ uses : abatilo/actions-poetry@v4
27
27
with :
28
28
poetry-version : 1.7.1
29
29
@@ -42,20 +42,20 @@ jobs:
42
42
test :
43
43
runs-on : ubuntu-latest
44
44
steps :
45
- - uses : actions/checkout@v2
45
+ - uses : actions/checkout@v4
46
46
47
47
- name : Set up Python
48
- uses : actions/setup-python@v2
48
+ uses : actions/setup-python@v4
49
49
with :
50
50
python-version : " 3.12"
51
51
52
- - uses : actions/cache@v2
52
+ - uses : actions/cache@v4
53
53
with :
54
54
path : ~/.cache/pip
55
55
key : pip-3.12-${{ hashFiles('poetry.lock') }}
56
56
57
57
- name : Install poetry
58
- uses : abatilo/actions-poetry@v2
58
+ uses : abatilo/actions-poetry@v4
59
59
with :
60
60
poetry-version : 1.7.1
61
61
@@ -71,19 +71,18 @@ jobs:
71
71
- lint
72
72
- test
73
73
steps :
74
- - uses : actions/checkout@v2
74
+ - uses : actions/checkout@v4
75
75
76
76
- name : Login to GitHub Container Registry
77
- uses : docker/login-action@v1
77
+ uses : docker/login-action@v3
78
78
if : ${{ github.ref == 'refs/heads/master' }}
79
79
with :
80
80
registry : ghcr.io
81
81
username : ${{ github.repository_owner }}
82
82
password : ${{ secrets.GITHUB_TOKEN }}
83
83
84
84
- name : Build and push container
85
- uses : docker/build-push-action@v2
85
+ uses : docker/build-push-action@v6
86
86
with :
87
87
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