Skip to content

if prerelease is also compare make a simple string compare of metadata #48

if prerelease is also compare make a simple string compare of metadata

if prerelease is also compare make a simple string compare of metadata #48

Workflow file for this run

on: [ pull_request ]
name: Test
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.18.x
- name: Checkout code
uses: actions/checkout@v2
- name: vet
run: make vet
- name: fmt
run: make fmt-check
- name: revive
run: make revive
golangci:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.59.1
test:
strategy:
matrix:
go-version: [ 1.18.x, 1.22.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: make test