Skip to content

Merge pull request #3 from pteich/release-please--branches--main #15

Merge pull request #3 from pteich/release-please--branches--main

Merge pull request #3 from pteich/release-please--branches--main #15

Workflow file for this run

name: Go
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x', '1.22.x', '1.23.x' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Download dependencies
run: go mod tidy
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...