diff --git a/.github/workflows/nepali-ci.yml b/.github/workflows/nepali-ci.yml index 10dd047..88ffe33 100644 --- a/.github/workflows/nepali-ci.yml +++ b/.github/workflows/nepali-ci.yml @@ -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 @@ -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