Skip to content

Add support for state #10

Add support for state

Add support for state #10

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.16
- name: Checkout
uses: actions/checkout@v2
- name: Get cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test -v .
- name: Build tester integration
run: go build -o client-tester-go -v ./tester
- name: Build tester
run: go install github.com/portier/client-tester@latest
- name: Run test suite
run: ~/go/bin/client-tester -bin ./client-tester-go