Skip to content

Fix AffectedVersionRange multi-interval pairing and bump vers #4

Fix AffectedVersionRange multi-interval pairing and bump vers

Fix AffectedVersionRange multi-interval pairing and bump vers #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.25']
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race -coverprofile=coverage.out ./...
- name: Upload coverage
if: matrix.go-version == '1.25'
uses: codecov/codecov-action@v5
with:
files: coverage.out
fail_ci_if_error: false
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest