feat: update firehose-core to v1.3.3 #71
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: Lint | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
branches: | |
- "master" | |
jobs: | |
formatter: | |
strategy: | |
fail-fast: true | |
name: Check with formatters | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.18.3" | |
check-latest: true | |
- name: Install prettier | |
run: | | |
yarn global add prettier | |
- name: Install buf | |
run: | | |
go install github.com/bufbuild/buf/cmd/[email protected] | |
- name: Install shfmt | |
run: | | |
go install mvdan.cc/sh/v3/cmd/[email protected] | |
- name: Check format with prettier | |
run: | | |
prettier --check '**/*.{md,yaml,yml}' | |
- name: Check go format | |
run: | | |
test -z "$(gofmt -l .)" | |
- name: Check proto format | |
run: | | |
test -z "$(buf format -d)" | |
- name: Check shell script format | |
run: | | |
test -z "$(shfmt -d -i 2 .)" |