mirror of
https://github.com/OJ/gobuster.git
synced 2026-10-12 02:07:17 +00:00
Upgrade setup-go action from v5 to v6
Signed-off-by: Christian Mehlmauer <[email protected]>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user