update. #79
This file contains hidden or 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
# 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 |