Skip to content

catalog-data-published #2

catalog-data-published

catalog-data-published #2

name: Update Dependencies
concurrency: ci-${{ github.ref }}
on:
workflow_dispatch:
schedule:
- cron: "10 2 * * 0"
repository_dispatch:
types:
- catalog-data-published
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {
name: Linux,
os: ubuntu-latest,
}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Update dependencies
run: |
git config --global user.email "[email protected]"
git config --global user.name "SweetRPG Depedency Updater"
git checkout ${{ github.head_ref || github.ref_name }}
go get -u ./...
go mod tidy
git add go.mod go.sum
git commit -m "Update dependencies"
git push origin || exit 0