Skip to content

Merge pull request #180 from ava-labs/release-job #1

Merge pull request #180 from ava-labs/release-job

Merge pull request #180 from ava-labs/release-job #1

Workflow file for this run

# Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
# See the file LICENSE for licensing terms.
name: Run Golang Linter
on:
push:
branches:
- "**"
jobs:
golangci:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set Go version
run: |
source ./scripts/versions.sh
echo GO_VERSION=$GO_VERSION >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Run Lint
run: ./scripts/lint.sh --go-lint