Skip to content

fix: properly normalize Windows paths, add windows test runner #498

fix: properly normalize Windows paths, add windows test runner

fix: properly normalize Windows paths, add windows test runner #498

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
name: build
on: [push, pull_request]
jobs:
tests:
strategy:
matrix:
go-version: ['1.18', 'stable']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: make test
- name: Send coverage report to coveralls
uses: shogo82148/actions-goveralls@v1
if: ${{ matrix.os == ubuntu-latest && matrix.go-version == 'stable' }}

Check failure on line 21 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 21, Col: 13): Unrecognized named-value: 'ubuntu-latest'. Located at position 14 within expression: matrix.os == ubuntu-latest && matrix.go-version == 'stable'
with:
path-to-profile: profile.cov