Skip to content

Commit

Permalink
CI: Set linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mertssmnoglu committed Feb 26, 2024
1 parent 8c099e6 commit 4a727da
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

jobs:
ci:
install:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -25,4 +25,16 @@ jobs:
run: go mod tidy
- name: App Version
run: go run main.go version

lint:
runs-on: ubuntu-latest
steps:
- run: go version
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22.0'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54

0 comments on commit 4a727da

Please sign in to comment.