Skip to content

feat: Moderyo Go SDK v2.0.7 #1

feat: Moderyo Go SDK v2.0.7

feat: Moderyo Go SDK v2.0.7 #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.21', '1.22', '1.23']
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Download dependencies
run: go mod download
- name: Vet
run: go vet ./...
- name: Test
run: go test -v -race -coverprofile=coverage.out -run 'Test[^I]' ./...
- name: Upload coverage
if: matrix.go-version == '1.23'
uses: codecov/codecov-action@v4
with:
file: ./coverage.out