Merge pull request #24 from ssbc/dependabot/go_modules/golang.org/x/c… #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2021 The Secretstream Authors | |
# | |
# SPDX-License-Identifier: MIT | |
name: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Node for interop testing | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.16 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Get dependencies | |
run: go get -v -t -d ./... | |
- name: Build smoke test | |
run: go build -v | |
- name: Build dev smoke test | |
run: go build -v -tags dev | |
- name: install node ssb-stack | |
run: | | |
pushd boxstream | |
npm ci | |
popd | |
pushd secrethandshake | |
npm ci | |
popd | |
- name: Test | |
run: go test ./... | |
- name: Test against shs1-testsuite | |
run: cd secrethandshake/tests && make test |