@@ -16,10 +16,10 @@ jobs:
1616 pre-commit :
1717 runs-on : ubuntu-latest
1818 steps :
19- 19+ 20+ - uses : actions/setup-python@v5
2021 with :
21- set-safe-directory : true
22- - uses : actions/setup-python@v3
22+ python-version : ' 3.x'
2323 -
uses :
pre-commit/[email protected] 2424 test :
2525 name : test
2929 - name : Install git
3030 run : apk add --update --no-cache git
3131 - name : Checkout code
32- uses : actions/checkout@v3.0 .2
32+ uses : actions/checkout@v4.2 .2
3333 with :
3434 fetch-depth : 0
35- set-safe-directory : true
3635 - name : Test
3736 run : |
3837 scripts/alpine-setup.sh
5251 - name : Install git
5352 run : apk add --update --no-cache git
5453 - name : Checkout
55- uses : actions/checkout@v3.0 .2
54+ uses : actions/checkout@v4.2 .2
5655 with :
5756 fetch-depth : 0
58- set-safe-directory : true
5957 - name : Build
6058 run : |
6159 git config --global --add safe.directory /__w/kube-no-trouble/kube-no-trouble
@@ -74,14 +72,13 @@ jobs:
7472 runs-on : ubuntu-latest
7573 steps :
7674 - name : Checkout
77- uses : actions/checkout@v2
75+ uses : actions/checkout@v4.2.2
7876 with :
7977 fetch-depth : 0
80- set-safe-directory : true
8178 - name : Set up Docker Buildx
82- uses : docker/setup-buildx-action@v2
79+ uses : docker/setup-buildx-action@v3
8380 - name : Build and push Docker image
84- uses : docker/build-push-action@v3
81+ uses : docker/build-push-action@v6
8582 with :
8683 context : .
8784 push : false
@@ -115,16 +112,15 @@ jobs:
115112 ]
116113 steps :
117114 - name : Checkout
118- uses : actions/checkout@v3.0 .2
115+ uses : actions/checkout@v4.2 .2
119116 with :
120117 fetch-depth : 0
121- set-safe-directory : true
122118 - uses : actions/download-artifact@v4
123119 with :
124120 name : release-artifacts-linux-amd64
125121 path : release-artifacts
126122 - name : Create k8s Kind Cluster
127- uses : helm/kind-action@v1.10 .0
123+ uses : helm/kind-action@v1.12 .0
128124 with :
129125 node_image : ${{ matrix.k8s_version }}
130126 cluster_name : kubent-test-cluster
@@ -145,12 +141,11 @@ jobs:
145141 tag_name : ${{ steps.get_tag.outputs.git_tag }}
146142 steps :
147143 - name : Checkout
148- uses : actions/checkout@v3.0 .2
144+ uses : actions/checkout@v4.2 .2
149145 with :
150146 fetch-depth : 0
151- set-safe-directory : true
152147 - name : Generate a changelog
153- uses : orhun/git-cliff-action@v3
148+ uses : orhun/git-cliff-action@v4
154149 id : git-cliff
155150 with :
156151 config : cliff.toml
@@ -186,17 +181,17 @@ jobs:
186181 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
187182 steps :
188183 - name : Checkout repository
189- uses : actions/checkout@v3
184+ uses : actions/checkout@v4.2.2
190185 - name : Log in to the Container registry
191- uses : docker/login-action@v2
186+ uses : docker/login-action@v3
192187 with :
193188 registry : ${{ env.REGISTRY }}
194189 username : ${{ github.actor }}
195190 password : ${{ secrets.GITHUB_TOKEN }}
196191 - name : Set up Docker Buildx
197- uses : docker/setup-buildx-action@v2
192+ uses : docker/setup-buildx-action@v3
198193 - name : Build and push Docker image
199- uses : docker/build-push-action@v3
194+ uses : docker/build-push-action@v6
200195 with :
201196 context : .
202197 push : true
0 commit comments