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

29 lines
527 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:
- name: Set up Go
2021-12-11 21:30:03 +00:00
uses: actions/setup-go@v2
2021-11-24 11:03:46 +00:00
with:
go-version: 1.18
2021-12-11 21:30:03 +00:00
id: go
- name: Check out code
uses: actions/checkout@v2
- name: Run fix
run: make fix
2021-12-11 21:30:03 +00:00
- name: Show fix result (diff)
2021-11-24 11:03:46 +00:00
run: |
git config core.ignorecase false
2021-11-24 11:03:46 +00:00
git status
git diff
2021-12-11 21:30:03 +00:00
2021-11-24 11:03:46 +00:00
- name: Run check
run: make check