diff --git a/.cirrus.yml b/.cirrus.yml index 53c0110..69c6ced 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,6 +1,6 @@ env: CIRRUS_CLONE_DEPTH: 1 - GO_VERSION: go1.19.1 + GO_VERSION: go1.20 freebsd_12_task: freebsd_instance: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b432f4..8fa6d54 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: build-and-test: strategy: matrix: - go-version: [1.17, 1.18, 1.19] + go-version: ['1.18', '1.19', '1.20'] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} @@ -26,11 +26,11 @@ jobs: uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - name: Check formatting - if: ${{ matrix.go-version == '1.19' && matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.go-version == '1.20' && matrix.os == 'ubuntu-latest' }} run: diff -u <(echo -n) <(gofmt -d .) - name: Check Go modules - if: ${{ matrix.go-version == '1.19' && matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.go-version == '1.20' && matrix.os == 'ubuntu-latest' }} run: | go mod tidy git diff --exit-code