Update dependencies #105
Workflow file for this run
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: Test and Format | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: bufbuild/buf-setup-action@v1 | |
with: | |
github_token: ${{ github.token }} | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.20.1' | |
cache: true | |
- name: Run tests | |
run: make test | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.20.1' | |
cache: true | |
- name: Run formatting | |
run: make check-format | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: bufbuild/buf-setup-action@v1 | |
with: | |
github_token: ${{ github.token }} | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.20.1' | |
- name: Make proto | |
run: make proto | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
editorconfig: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: editorconfig-checker/action-editorconfig-checker@main | |
- run: editorconfig-checker |