Skip to content

Add Dependabot configuration for gomod #104

Add Dependabot configuration for gomod

Add Dependabot configuration for gomod #104

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