Upgrade setup-go action from v5 to v6

Signed-off-by: Christian Mehlmauer <[email protected]>
This commit is contained in:
Christian Mehlmauer
2025-10-31 23:35:08 +01:00
committed by GitHub
parent 86c9ef65b4
commit 73061f031c
+34
View File
@@ -0,0 +1,34 @@
name: Update Dependencies
on:
schedule:
- cron: '0 4 * * *' # Runs daily at 04:00 UTC
workflow_dispatch:
permissions:
contents: write
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: dev
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 'stable'
- name: Update all dependencies
run: |
go get -u ./...
go mod tidy
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update dependencies [automated]"
branch: dev