docs: Add css rule to turn off scrolling when clicking on section lin… #29
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 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@v3 | |
- 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@v1 | |
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 |