mirror of
https://github.com/abiosoft/colima.git
synced 2026-05-17 12:10:34 +00:00
8bb1101a86
* ci: ignore nix files * chore: add nix flake
30 lines
585 B
YAML
30 lines
585 B
YAML
name: golangci-lint
|
|
on:
|
|
push:
|
|
tags: [v*]
|
|
branches: [main]
|
|
paths-ignore:
|
|
- "**/*.md"
|
|
- "**/*.nix"
|
|
- "**/*.lock"
|
|
pull_request:
|
|
paths-ignore:
|
|
- "**/*.md"
|
|
- "**/*.nix"
|
|
- "**/*.lock"
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.18
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
version: v1.45.2
|
|
args: --timeout 3m0s
|