diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 783f87d8..efbdae72 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,32 +13,16 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ["1.17.x", "1.18.x"] - include: - - go: 1.18.x - latest: true + go: ["stable", "oldstable"] steps: - - name: Setup Go - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go }} - - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: Load cached dependencies - uses: actions/cache@v1 + - name: Setup Go + uses: actions/setup-go@v5 with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - - name: Download Dependencies - run: | - go mod download - (cd tools && go mod download) + go-version: ${{ matrix.go }} - name: Lint if: matrix.latest diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2613cca5..00000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: go -sudo: false -go: - - 1.20.x - - 1.21.x - - 1.22.x -cache: - directories: - - vendor -install: - - npm i uber-licence - - make dependencies -script: - - make test - - make lint -after_success: - - make coveralls