Skip to content

Update main.go (#23) #5

Update main.go (#23)

Update main.go (#23) #5

Workflow file for this run

name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x', '1.22.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
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 ./...