Skip to content

[GHA] Add go-test workflow. #1

[GHA] Add go-test workflow.

[GHA] Add go-test workflow. #1

Workflow file for this run

name: go-test
on:
push:
branches:
- master
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: Go Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: Get dependencies
run: go mod download
- name: Run tests
run: go test ./... -v