...

Text file src/github.com/mdlayher/packet/.github/workflows/test.yml

Documentation: github.com/mdlayher/packet/.github/workflows

     1name: Test
     2
     3on:
     4  push:
     5    branches:
     6      - "*"
     7  pull_request:
     8    branches:
     9      - "*"
    10
    11jobs:
    12  build:
    13    strategy:
    14      fail-fast: false
    15      matrix:
    16        go-version: ["1.20"]
    17        os: [ubuntu-latest, macos-latest]
    18    runs-on: ${{ matrix.os }}
    19
    20    steps:
    21      - name: Set up Go
    22        uses: actions/setup-go@v3
    23        with:
    24          go-version: ${{ matrix.go-version }}
    25        id: go
    26
    27      - name: Check out code into the Go module directory
    28        uses: actions/checkout@v3
    29
    30      # Run basic tests, we just want to make sure there is parity on Linux and
    31      # macOS, and back to the oldest version of Go this library supports.
    32      - name: Run tests
    33        run: go test ./...

View as plain text