Skip to content

Commit e6f2b3e

Browse files
committed
fail me
1 parent 97a0da7 commit e6f2b3e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/go.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
changes=$(git status --porcelain)
3939
if [[ -n "$changes" ]]; then
4040
{
41-
echo "## :construction: Uncommitted changes"
42-
echo Run `$ go mod tidy` to update the `go.mod` and `go.sum` files.
43-
echo "\`\`\`console"
44-
echo "\$ git status --porcelain"
41+
echo '## :construction: Uncommitted changes'
42+
echo 'Run `$ go mod tidy` to update the `go.mod` and `go.sum` files.'
43+
echo '\`\`\`console'
44+
echo '`$ git status --porcelain`'
4545
echo "$changes"
46-
echo "\`\`\`"
46+
echo '```'
4747
} >> "$GITHUB_STEP_SUMMARY"
4848
4949
echo "::group::Uncommitted changes"
@@ -83,7 +83,7 @@ jobs:
8383
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }}
8484

8585
generate-diff:
86-
needs: mod-diff
86+
# needs: mod-diff
8787
runs-on: ubuntu-latest
8888
steps:
8989
- uses: actions/checkout@v4
@@ -98,12 +98,12 @@ jobs:
9898
changes=$(git status --porcelain)
9999
if [[ -n "$changes" ]]; then
100100
{
101-
echo "## :construction: Uncommitted changes"
102-
echo Run `$ go generate ./...` to update the generated files.
103-
echo "\`\`\`console"
104-
echo "\$ git status --porcelain"
101+
echo '## :construction: Uncommitted changes'
102+
echo 'Run `$ go generate ./...` to re-generate the files.
103+
echo '\`\`\`console'
104+
echo '`$ git status --porcelain`'
105105
echo "$changes"
106-
echo "\`\`\`"
106+
echo '```'
107107
} >> "$GITHUB_STEP_SUMMARY"
108108
109109
echo "::group::Uncommitted changes"

0 commit comments

Comments
 (0)