Skip to content

Merge pull request #24 from ssbc/dependabot/go_modules/golang.org/x/c… #19

Merge pull request #24 from ssbc/dependabot/go_modules/golang.org/x/c…

Merge pull request #24 from ssbc/dependabot/go_modules/golang.org/x/c… #19

Workflow file for this run

# 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