trustwallet-assets/.github/workflows/fix-dryrun.yml
Daniel d547fb1473
Move CI scripts logic from assets-go-libs (#16680)
* Move CI scripts logic from assets-go-libs

* Add Makefile, .golangci.yml and lint jobs to workflow

* Fix
2021-12-20 00:39:53 +03:00

29 lines
657 B
YAML

name: Fix (Dry run)
on:
pull_request:
branches: master
jobs:
fix-dryrun:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
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)
run: |
git config core.ignorecase false
git status
git diff
- name: Run check
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=checker