Skip to content

Adding a basic pipeline pattern #7

Adding a basic pipeline pattern

Adding a basic pipeline pattern #7

Workflow file for this run

name: Go Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.4
- name: Check out code
uses: actions/checkout@v4
- name: Get dependencies
run: go mod download
- name: Run tests
run: go test ./...