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 (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy authored Oct 23, 2023
1 parent c0a9bf3 commit a43f183
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/golangci-lint@v1.54.1

- 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: v1.54

0 comments on commit a43f183

Please sign in to comment.