From 65c27093e38a3f00f85515be9ece0166ee6623fe Mon Sep 17 00:00:00 2001 From: Pablo Mazzini Date: Thu, 7 Sep 2023 05:25:13 +0100 Subject: CI bump --- .github/workflows/lint.yml | 16 ++-------------- .github/workflows/tests.yml | 18 ++++++------------ 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fea79b9..0503124 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,20 +13,8 @@ jobs: name: golangci-lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: golangci-lint - uses: golangci/golangci-lint-action@v2 - with: - version: latest - - # Optional: golangci-lint command line arguments. - # args: --issues-exit-code=0 - - # Optional: show only new issues if it's a pull request. The default value is `false`. - # only-new-issues: true - - # Optional: if set to true then the action will use pre-installed Go - # skip-go-installation: true + - uses: actions/checkout@v4 + - uses: golangci/golangci-lint-action@v3 # checklicenses: # name: checklicenses # runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1e39b34..e50638b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,14 +7,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.18', '1.19', '1.20'] - env: - GO111MODULE: on + go: ['1.20', '1.21'] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 with: - stable: false go-version: ${{ matrix.go }} - name: run unit tests run: | @@ -33,14 +30,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.18', '1.19', '1.20'] - env: - GO111MODULE: on + go: ['1.20', '1.21'] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 with: - stable: false go-version: ${{ matrix.go }} - name: run integ tests run: | -- cgit v1.2.3