Skip to content

A safe MkdirAll implementation #66

A safe MkdirAll implementation

A safe MkdirAll implementation #66

Workflow file for this run

name: ci
on:
push:
tags:
- "v*"
branches:
- main
pull_request:
schedule:
- cron: "30 10 * * 0"
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
go-version:
- "1.21"
- "1.22"
- "^1"
exclude:
# It seems MacOS 1.14 is no longer cached by actions/setup-go.
- os: macos-latest
go-version: "1.14"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: unit tests
run: go test -v -cover ./...
# TODO: Merge the code coverage stats from both runs...
- name: unit tests (root)
if: ${{ ! startsWith(matrix.os, "windows-") }}

Check failure on line 40 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 40, Col: 13): Unexpected symbol: '"windows-"'. Located at position 25 within expression: ! startsWith(matrix.os, "windows-")
run: sudo go test -v -cover ./...