Bumps the all group with 3 updates in the / directory: [actions/setup-go](https://github.com/actions/setup-go), [actions/checkout](https://github.com/actions/checkout) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/setup-go` from 6 to 7 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v6...v7) Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) Updates `codecov/codecov-action` from 6 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/setup-go dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
865 B
YAML
38 lines
865 B
YAML
name: examples
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- '.github/workflows/examples.yml'
|
|
- 'examples/go.mod'
|
|
- 'examples/go.sum'
|
|
- 'tutorials/go.mod'
|
|
- 'tutorials/go.sum'
|
|
- 'go.mod'
|
|
- 'go.sum'
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
tidy:
|
|
permissions:
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-go@v7
|
|
with:
|
|
go-version: '^1'
|
|
cache: true
|
|
- shell: bash
|
|
run: |
|
|
(cd ./examples && go mod tidy)
|
|
(cd ./tutorials && go mod tidy)
|
|
- uses: stefanzweifel/git-auto-commit-action@v7
|
|
with:
|
|
commit_message: "chore: go mod tidy tutorials and examples"
|
|
branch: main
|
|
commit_user_name: actions-user
|
|
commit_user_email: actions@github.com
|
|
|