Skip to content

chore(deps): update actions/setup-go action to v5 #125

chore(deps): update actions/setup-go action to v5

chore(deps): update actions/setup-go action to v5 #125

Workflow file for this run

name: Fixes dependabot lint
on:
pull_request:
types: [opened, synchronize]
branches:
- main
jobs:
change-and-push:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]'}}
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: v1.19.x
cache: true
- name: Format code
run: go run mage.go format
- name: Check for uncommitted changes
id: check-uncommited
uses: mskri/[email protected]
- name: Commit and push changes
if: steps.check-uncommited.outputs.outcome == failure()
uses: devops-infra/action-commit-push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_message: "chore: run mage format"