diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d513f06..2a36d3c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,7 +7,18 @@ on: jobs: test: runs-on: ubuntu-latest - name: Tests + strategy: + matrix: + go: + - '1.17' + - '1.18' + - '1.19' + - '1.20' + - '1.21' + - '1.22' + - '1.23' + - '1.24' + name: Go ${{ matrix.go }} test steps: - name: Checkout @@ -16,7 +27,7 @@ jobs: name: Setup Go uses: actions/setup-go@v5 with: - go-version-file: 'go.mod' + go-version: ${{ matrix.go }} - name: Run tests run: go test ./... diff --git a/go.mod b/go.mod index a66766a..103e99b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/symfony-cli/console -go 1.22.4 +go 1.17 require ( github.com/agext/levenshtein v1.2.3