Change to using sobek instead of goja #27
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
# 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 |