mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-27 00:58:52 +01:00
4b34a6d6df
Management will receive and store routes that are associated with a peer ID. The routes are distributed to peers according to their ACLs.
22 lines
621 B
YAML
22 lines
621 B
YAML
name: golangci-lint
|
|
on: [pull_request]
|
|
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.18.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
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
# SA1019: "io/ioutil" has been deprecated since Go 1.16
|
|
args: --timeout=6m -e SA1019
|
|
|
|
|