Skip to content

Auto update go dependencies #667

Auto update go dependencies

Auto update go dependencies #667

name: Auto update go dependencies
on:
schedule:
# runs daily at 12:00 am
- cron: '0 0 * * *'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
auto-update-go-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout the head commit of the branch
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Go setup
uses: actions/setup-go@v2
- name: Run auto dependency update
uses: romoh/dependencies-autoupdate@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
update-command: "'go get -u && go mod tidy && go build'"
update-path: "'./test/go'"
on-changes-command: "./test.sh"