trustwallet-assets/.github/workflows/fix-dryrun.yml

28 lines
619 B
YAML
Raw Normal View History

2021-12-11 21:30:03 +00:00
name: Fix (Dry run)
2021-11-24 11:03:46 +00:00
on:
pull_request:
2021-12-11 21:30:03 +00:00
branches: master
2021-11-24 11:03:46 +00:00
jobs:
2021-12-11 21:30:03 +00:00
fix-dryrun:
2021-11-24 11:03:46 +00:00
runs-on: ubuntu-latest
steps:
2021-12-11 21:30:03 +00:00
- name: Set up Go 1.17
uses: actions/setup-go@v2
2021-11-24 11:03:46 +00:00
with:
2021-12-11 21:30:03 +00:00
go-version: 1.17
id: go
- name: Check out code
uses: actions/checkout@v2
- name: Run fix
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=fixer
- name: Show fix result (diff)
2021-11-24 11:03:46 +00:00
run: |
git status
git diff
2021-12-11 21:30:03 +00:00
2021-11-24 11:03:46 +00:00
- name: Run check
2021-12-11 21:30:03 +00:00
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=checker