Skip to content

Merge pull request #45 from blacknon/develop #84

Merge pull request #45 from blacknon/develop

Merge pull request #45 from blacknon/develop #84

# Copyright (c) 2019 Blacknon. All rights reserved.
# Use of this source code is governed by an MIT license
# that can be found in the LICENSE file.
name: "go-sshlib test and release job."
on:
push:
branches:
- develop
- master
jobs:
build_test:
strategy:
matrix:
include:
- os: windows-latest
- os: macos-latest
- os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.22
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: go get -v -t -d ./...
- name: Test code
run: go test -v .
- name: build test
run: go build