Update dependency go to v1.23.1 #419
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: Update universe | |
on: | |
workflow_dispatch: | |
push: | |
schedule: | |
- cron: "0 0 * * mon" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update: | |
name: Update | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Update universe | |
run: go run . | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Commit changes | |
if: github.event_name != 'push' | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update universe |