...

Text file src/github.com/jmespath/go-jmespath/.github/workflows/ci.yml

Documentation: github.com/jmespath/go-jmespath/.github/workflows

     1name: ci
     2
     3on:
     4  push:
     5  pull_request:
     6jobs:
     7  run-tests:
     8    name: Run Tests
     9    runs-on: ubuntu-latest
    10    strategy:
    11      matrix:
    12        go-version:
    13          - 1.18
    14          - 1.17
    15          - 1.16
    16          - 1.15
    17    steps:
    18      - uses: actions/checkout@v2
    19      - name: Set up Go
    20        uses: actions/setup-go@v2
    21        with:
    22          go-version: ${{ matrix.go-version }}
    23      - name: Install deps 
    24        run: go mod download
    25      - name: Tests
    26        run: make test
    27      - name: Install golint
    28        if: ${{ matrix.go-version == '1.17' }}
    29        run: |
    30          make install-dev-cmds
    31          make check

View as plain text