Skip to content

Fixed the bug which was not listing the major version (#61) #139

Fixed the bug which was not listing the major version (#61)

Fixed the bug which was not listing the major version (#61) #139

Workflow file for this run

name: Build and Test
on:
push:
branches: main
pull_request:
branches: main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v9.1.0
with:
version: v2.6.2
args: --timeout=5m
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
cache: true
- name: Download dependencies
run: go mod download
- name: Run tests
run: make test
- name: Generate coverage report
run: make coverage
build:
name: Build
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
cache: true