mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
This change updates Golang CI Lint to the latest version and fixes new linter errors that came along with the update. These changes were split out of #112 and are required to update the Go version.
22 lines
497 B
YAML
22 lines
497 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
name: Run on Ubuntu
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone the code
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 #v6.3.0
|
|
with:
|
|
go-version-file: go.mod
|
|
|
|
- name: Run linter
|
|
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 #v9.2.0
|