Skip to content

simplify regex and use semver pkg #29

simplify regex and use semver pkg

simplify regex and use semver pkg #29

Workflow file for this run

name: Build and tests
on:
# run tests on push to master, but not when other branches are pushed to
push:
branches:
- master
# run tests for all pull requests
pull_request:
jobs:
build:
strategy:
matrix:
include:
- go: 1.21.x
- go: 1.15.x
name: Build Go ${{ matrix.go }}
runs-on: ubuntu-latest
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v4
- name: Build
run: |
go build
- name: Run Tests
run: |
go test ./...