diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7023b7d..b3cfbe9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,21 +6,22 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.15', '1.14' ] + go: [ '1.18', '1.17', '1.16', '1.15', '1.14', '1.13', '1.12' ] + fail-fast: false name: Go ${{ matrix.go }} test steps: - name: Checkout repository uses: actions/checkout@v2 - name: Install Go stable version - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go }} - name: Install GolangCI-Lint - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.25.0 + run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2 - name: Test with coverage run: make cover - name: Upload code coverage to codecov - if: matrix.go == '1.15' + if: matrix.go == '1.18' uses: codecov/codecov-action@v1 with: file: ./coverage.out