Отключена публикация docker образов #5
Workflow file for this run
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
on: [push, pull_request] | |
name: Test | |
jobs: | |
Build: | |
strategy: | |
matrix: | |
go-version: [1.16.x] | |
platform: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Fetch Repository | |
uses: actions/checkout@v2 | |
- name: Setup modules | |
run: | | |
go mod tidy | |
- name: Run Test ubuntu-latest | |
if: runner.os == 'Linux' | |
run: | | |
go test -coverprofile=coverage.out ./... | |
- name: Run Test windows-latest | |
if: runner.os == 'Windows' | |
run: | | |
go test ./... | |
shell: cmd |