Skip to content

Commit

Permalink
Merge pull request #23 from aj3sh/commitlint
Browse files Browse the repository at this point in the history
ci: add commitlint
  • Loading branch information
sugat009 authored May 27, 2024
2 parents f3d3bf8 + c8cec03 commit bc41ceb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/nepali-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,22 @@ name: Go Nepali CI

on:
push:
branches: ["main"]
branches: ['main']
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Conventional Commitlint
uses: opensource-nepal/commitlint@v1
with:
verbose: true

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19

Expand All @@ -26,7 +31,7 @@ jobs:
run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...

- name: Send coverage to CodeCov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
Expand Down

0 comments on commit bc41ceb

Please sign in to comment.