feat: deploy fee contract for transaction processing (#807) #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Shell | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.sh' | |
pull_request: | |
paths: | |
- '**.sh' | |
- '.github/workflows/shell.yml' | |
permissions: | |
contents: read | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run shellcheck | |
run: make shell-lint | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install shfmt | |
run: | | |
wget https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_linux_amd64 | |
sudo mv shfmt_v3.8.0_linux_amd64 /usr/local/bin/shfmt | |
sudo chmod +x /usr/local/bin/shfmt | |
- name: Run shfmt | |
run: | | |
make shell-format | |
git diff --exit-code |