Initial signature aggregator unit tests #1359
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
# Copyright (C) 2023, Ava Labs, Inc. All rights reserved. | |
# See the file LICENSE for licensing terms. | |
name: Run Golang Linter | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
golangci: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run Lint | |
run: ./scripts/lint.sh --go-lint | |
- name: Ensure protobuf changes are checked in | |
run: | | |
scripts/protobuf_codegen.sh | |
git update-index --really-refresh >> /dev/null | |
git diff-index HEAD # to show the differences | |
git diff-index --quiet HEAD || (echo 'protobuf generated code changes have not all been checked in' && exit 1) |