Skip to content

docs: Apply minor edits (#8215) #5

docs: Apply minor edits (#8215)

docs: Apply minor edits (#8215) #5

Workflow file for this run

---
name: "Lint go"
on: # yamllint disable-line rule:truthy
pull_request:
paths-ignore:
- '*.md'
- 'docs/*'
- 'webui/*'
push:
branches:
- 'main'
- 'releases/**'
jobs:
lint-go:
strategy:
fail-fast: true
matrix:
service: [agent, master, proto]
runs-on: ubuntu-latest
env:
GO111MODULE: "on"
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.18
cache: true
cache-dependency-path: ${{ matrix.service }}/go.sum
- name: Setup Protoc
uses: arduino/setup-protoc@v2
with:
version: 3.17.1
repo-token: ${{ secrets.DETERMINED_TOKEN }}
- name: Install dependencies
run: |
make -C proto get-deps
sudo apt-get update && sudo apt-get install -y clang-format
make -C ${{ matrix.service }} get-deps
- name: Run checks
run: |
make -C proto build
make -C ${{ matrix.service }} check