netbird/.github/workflows/golangci-lint.yml

18 lines
541 B
YAML
Raw Normal View History

2021-05-15 12:44:35 +02:00
name: golangci-lint
2022-02-01 11:53:24 +01:00
on: [pull_request]
2021-05-15 12:44:35 +02:00
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19.x
- name: Install dependencies
run: sudo apt update && sudo apt install -y -q libgtk-3-dev libappindicator3-dev libayatana-appindicator3-dev libgl1-mesa-dev xorg-dev
2021-05-15 12:44:35 +02:00
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
args: --timeout=6m