Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
chore(CI): update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy committed Oct 23, 2023
1 parent c0a9bf3 commit d0a9ab7
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@ on:
- main

jobs:
linting:
golangci:
name: lint
runs-on: ubuntu-latest

steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.21.0'

- name: Checkout code
uses: actions/checkout@v3

- name: Installing golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/[email protected]

- name: Formatting and linting the project
run: make check
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v3.7.0

0 comments on commit d0a9ab7

Please sign in to comment.