Skip to content

Commit

Permalink
Turn on fix-dryrun
Browse files Browse the repository at this point in the history
  • Loading branch information
unanoc committed Nov 22, 2021
1 parent b2692d6 commit 0f67af6
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 28 deletions.
4 changes: 1 addition & 3 deletions .github/assets.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ validators_settings:
- ".git"
- ".eslintignore"
- ".eslintrc.js"
- "cmd"
- "go.mod"
- "go.sum"
- "app"
skip_files:
- "node_modules"

Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/fix-dryrun.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: Fixes (sanity and consistency) - Dry run
on:
pull_request:
branches: [master]
jobs:
fix-all-dryrun:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Install Dependencies
run: npm ci
- name: Run fix script
run: npm run fix
- name: Show fix result (diff); run 'npm run fix' locally
run: |
git status
git diff
- name: Run check
run: npm run check
- name: Run test
run: npm t
# name: Fixes (sanity and consistency) - Dry run
# on:
# pull_request:
# branches: [master]
# jobs:
# fix-all-dryrun:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 12
# - name: Install Dependencies
# run: npm ci
# - name: Run fix script
# run: npm run fix
# - name: Show fix result (diff); run 'npm run fix' locally
# run: |
# git status
# git diff
# - name: Run check
# run: npm run check
# - name: Run test
# run: npm t
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
id: go

- name: Run check (sanity only)
run: go run cmd/main.go -c ./.github/assets.config.yaml
run: go run app/main.go -c ./.github/assets.config.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0f67af6

Please sign in to comment.