Upgrade Dependencies #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upgrade Dependencies | |
on: | |
schedule: | |
- cron: '0 10 * * 1' | |
jobs: | |
upgrade-dep: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: init hermit | |
run: ./bin/hermit env --raw >> $GITHUB_ENV | |
- name: upgrade hermit dependencies | |
run: hermit upgrade | |
- name: upgrade go dependencies | |
run: go get -t -u ./... | |
- name: create pull request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
commit-message: Upgrade dependencies | |
title: Upgrade dependencies | |
body: | | |
- Upgrade hermit and go dependencies | |
Auto-generated by a Github Action | |
branch: upgrade-dependencies |