...

Text file src/github.com/cyphar/filepath-securejoin/.github/workflows/ci.yml

Documentation: github.com/cyphar/filepath-securejoin/.github/workflows

     1name: ci
     2
     3on:
     4  push:
     5    tags:
     6      - "v*"
     7    branches:
     8      - main
     9  pull_request:
    10  schedule:
    11    - cron: "30 10 * * 0"
    12
    13jobs:
    14  test:
    15    strategy:
    16      fail-fast: false
    17      matrix:
    18        os:
    19          - ubuntu-latest
    20          - macos-latest
    21          - windows-latest
    22        go-version:
    23          - "1.14"
    24          - "1.20"
    25          - "1.21"
    26          - "^1"
    27    runs-on: ${{ matrix.os }}
    28    steps:
    29      - uses: actions/checkout@v3
    30      - uses: actions/setup-go@v4
    31        with:
    32          go-version: ${{ matrix.go-version }}
    33      - name: unit tests
    34        run: go test -v -cover ./...

View as plain text