Skip to content

chore(deps): update actions/setup-go action to v5 #8

chore(deps): update actions/setup-go action to v5

chore(deps): update actions/setup-go action to v5 #8

Workflow file for this run

name: Linting
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
permissions:
contents: read
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event.pull_request.commits }}
ref: ${{ github.event.pull_request.head.sha }}
- name: Commit-Lint
uses: bugbundle/[email protected]
id: commits
- run: echo ${{ steps.commits.outputs.major }}.${{ steps.commits.outputs.minor }}.${{ steps.commits.outputs.patch }}
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
check-latest: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54