Skip to content

Commit

Permalink
chore: update lint github action
Browse files Browse the repository at this point in the history
  • Loading branch information
vladyslavpavlenko committed Jul 29, 2024
1 parent b49d708 commit 1efd742
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 24 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches:
- "*"
pull_request:
branches:
- main
workflow_dispatch: {}

permissions:
contents: read

jobs:
lint:
name: Linter
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true

- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x

- name: Run linters
run: task lint
24 changes: 0 additions & 24 deletions .github/workflows/golangci-lint.yml

This file was deleted.

File renamed without changes.

0 comments on commit 1efd742

Please sign in to comment.