diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e7a932..f6ef86e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,8 @@ jobs: test: strategy: matrix: - # Minimum supported version (1.17) and the latest two - go-version: ['1.17', '1.19', '1.20'] + # Minimum supported version (1.18) and the latest two + go-version: ['1.18', '1.21', '1.22'] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} @@ -27,7 +27,7 @@ jobs: uses: actions/checkout@v4 - name: Check formatting - if: matrix.go-version == '1.20' && matrix.platform == 'ubuntu-latest' + if: matrix.go-version == '1.22' && matrix.platform == 'ubuntu-latest' run: diff -u <(echo -n) <(go fmt $(go list ./...)) - name: Run unit tests diff --git a/go.mod b/go.mod index 67e460f..15ae7cf 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/google/gops -go 1.17 +go 1.18 require ( github.com/shirou/gopsutil/v3 v3.24.3