Skip to content

Commit 784555a

Browse files
jekabs-karklinsjekabskarklins
andauthored
chore: update GitHub Actions to use latest versions (#1551)
Co-authored-by: jekabskarklins <jekabs.karklins@ess.eu>
1 parent 2303431 commit 784555a

9 files changed

Lines changed: 65 additions & 65 deletions

.github/workflows/auto-merge-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# Extract information about the dependencies being updated by a Dependabot-generated PR
1616
- name: Dependabot metadata
1717
id: dependabot-metadata
18-
uses: dependabot/fetch-metadata@v1.6.0
18+
uses: dependabot/fetch-metadata@v2
1919
with:
2020
github-token: "${{ secrets.GITHUB_TOKEN }}"
2121

.github/workflows/build-push.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
steps:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525

2626
- id: extract_branch
2727
uses: swapActions/get-branch-name@v1
2828

2929
- name: Create backend image tags
3030
id: meta-backend
31-
uses: docker/metadata-action@v5
31+
uses: docker/metadata-action@v6
3232
with:
3333
images: ghcr.io/userofficeproject/user-office-backend
3434
flavor: latest=true # adds :latest tag to outputs.tags
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: Create frontend image tags
4040
id: meta-frontend
41-
uses: docker/metadata-action@v5
41+
uses: docker/metadata-action@v6
4242
with:
4343
images: ghcr.io/userofficeproject/user-office-frontend
4444
flavor: latest=true # adds :latest tag to outputs.tags
@@ -47,20 +47,20 @@ jobs:
4747
type=raw,value=${{ steps.extract_branch.outputs.branch }}
4848
4949
- name: Set up QEMU
50-
uses: docker/setup-qemu-action@v3
50+
uses: docker/setup-qemu-action@v4
5151

5252
- name: Set up Docker Buildx
53-
uses: docker/setup-buildx-action@v3
53+
uses: docker/setup-buildx-action@v4
5454

5555
- name: Login to GitHub Container Registry
56-
uses: docker/login-action@v3
56+
uses: docker/login-action@v4
5757
with:
5858
registry: ghcr.io
5959
username: ${{ github.actor }}
6060
password: ${{ secrets.GITHUB_TOKEN }}
6161

6262
- name: Set up Node.js
63-
uses: actions/setup-node@v4
63+
uses: actions/setup-node@v6
6464
with:
6565
node-version: ${{ env.NODE_VERSION }}
6666

@@ -74,7 +74,7 @@ jobs:
7474
run: npm run generate:sdk
7575

7676
- name: Build and push backend
77-
uses: docker/build-push-action@v5
77+
uses: docker/build-push-action@v7
7878
with:
7979
context: ./
8080
platforms: linux/amd64,linux/arm64/v8
@@ -83,7 +83,7 @@ jobs:
8383
tags: ${{ steps.meta-backend.outputs.tags }}
8484

8585
- name: Build and push frontend
86-
uses: docker/build-push-action@v5
86+
uses: docker/build-push-action@v7
8787
with:
8888
context: ./
8989
platforms: linux/amd64,linux/arm64/v8

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535

3636
# Initializes the CodeQL tools for scanning.
3737
- name: Initialize CodeQL

.github/workflows/deploy-docs-develop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
- name: Configure Git Credentials
1717
run: |
1818
git config user.name github-actions[bot]
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
python-version: 3.x
2323
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
24-
- uses: actions/cache@v4
24+
- uses: actions/cache@v5
2525
with:
2626
key: mkdocs-material-${{ env.cache_id }}
2727
path: .cache

.github/workflows/deploy-docs-latest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
deploy:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0
2020
- name: Configure Git Credentials
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
python-version: 3.x
2727
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
28-
- uses: actions/cache@v4
28+
- uses: actions/cache@v5
2929
with:
3030
key: mkdocs-material-${{ env.cache_id }}
3131
path: .cache

.github/workflows/github-tag-and-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616

1717
- name: Bump version and push tag
1818
id: tag_version
@@ -28,20 +28,20 @@ jobs:
2828
body: ${{ steps.tag_version.outputs.changelog }}
2929

3030
- name: Set up QEMU
31-
uses: docker/setup-qemu-action@v3
31+
uses: docker/setup-qemu-action@v4
3232

3333
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@v3
34+
uses: docker/setup-buildx-action@v4
3535

3636
- name: Login to GitHub Container Registry
37-
uses: docker/login-action@v3
37+
uses: docker/login-action@v4
3838
with:
3939
registry: ghcr.io
4040
username: ${{ github.actor }}
4141
password: ${{ secrets.GITHUB_TOKEN }}
4242

4343
- name: Build and push backend
44-
uses: docker/build-push-action@v5
44+
uses: docker/build-push-action@v7
4545
with:
4646
context: ./
4747
platforms: linux/amd64,linux/arm64/v8
@@ -50,7 +50,7 @@ jobs:
5050
tags: ghcr.io/userofficeproject/user-office-backend:${{ steps.tag_version.outputs.new_tag }}
5151

5252
- name: Set up Node.js
53-
uses: actions/setup-node@v4
53+
uses: actions/setup-node@v6
5454
with:
5555
node-version: ${{ env.NODE_VERSION }}
5656

@@ -64,7 +64,7 @@ jobs:
6464
run: npm run generate:sdk
6565

6666
- name: Build and push frontend
67-
uses: docker/build-push-action@v5
67+
uses: docker/build-push-action@v7
6868
with:
6969
context: ./
7070
platforms: linux/amd64,linux/arm64/v8

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- name: Check out Git repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818

1919
- name: Set up Node.js
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: ${{ env.NODE_VERSION }}
2323

.github/workflows/pr-title-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
check-pr-title:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: thehanimo/pr-title-checker@v1.4.1
17+
- uses: thehanimo/pr-title-checker@v1.4.3
1818
with:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
pass_on_octokit_error: false

0 commit comments

Comments
 (0)