Skip to content

Merge pull request #10 from mstoykov/useSobek #29

Merge pull request #10 from mstoykov/useSobek

Merge pull request #10 from mstoykov/useSobek #29

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Iván Szkiba
#
# SPDX-License-Identifier: MIT
name: Test
on:
push:
branches:
- master
tags:
- "v*"
pull_request:
jobs:
test:
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{matrix.platform}}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x
- name: Checkout code
uses: actions/checkout@v4
- name: Lint
if: ${{ matrix.platform == 'ubuntu-latest' }}
uses: magefile/mage-action@v3
with:
version: latest
args: lint
- name: Test
uses: magefile/mage-action@v3
with:
version: v1.14.0
args: test
- name: Upload Coverage
if: ${{ matrix.platform == 'ubuntu-latest' }}
uses: codecov/codecov-action@v4
- name: Generate Go Report Card
if: ${{ matrix.platform == 'ubuntu-latest' }}
uses: creekorful/goreportcard-action@v1.0