Skip to content

Update go.yml

Update go.yml #1

Workflow file for this run

name: Go Test and Lint
on:
push:
branches: [ "main", "test-and-lint-action" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -v ./src
- name: Test
run: go test -v ./src