Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

misc(php): Add PHP SDK #2

misc(php): Add PHP SDK

misc(php): Add PHP SDK #2

Workflow file for this run

name: '[Go] CI'
on:
push:
branches:
- 'main'
paths:
- 'go/**'
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ./
sparse-checkout: go
sparse-checkout-cone-mode: false
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go/go.mod
cache: true
cache-dependency-path: go/go.sum
- name: Install dependencies
run: |
cd go
go get github.com/stretchr/testify/assert
go get golang.org/x/net/context
- name: Run tests
run: |
cd go
go test test/*
go build -v ./