Skip to content

[2.0] Docs

[2.0] Docs #37

Workflow file for this run

name: Unit
on:
pull_request:
branches:
- develop
- nightly
- latest
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Install dependencies
run: go get .
- name: Test with Go
run: go test -json > TestResults-${{ matrix.go-version }}.json
- name: Upload Go test results
uses: actions/upload-artifact@v3
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json