mirror of
https://github.com/coredns/coredns.git
synced 2025-12-04 17:35:13 -05:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](ec3a7ce113...a12a3943b4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
26 lines
743 B
YAML
26 lines
743 B
YAML
name: Reviewdog
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
gofmt:
|
|
name: Go Fmt
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
|
- run: find . -not -path '*/\.git/*' -type f -name '*.go' -exec gofmt -s -w {} \+
|
|
- uses: reviewdog/action-suggester@650721aae74ec5d8b0cae75cf980720f1b60cef3
|
|
|
|
whitespace:
|
|
name: Whitespace
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
|
- run: find . -not -path '*/\.git/*' -type f -not -name '*.go' -exec sed -i 's/[[:space:]]\{1,\}$//' {} \+
|
|
- uses: reviewdog/action-suggester@650721aae74ec5d8b0cae75cf980720f1b60cef3
|