diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ad6a46..51a1c36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,25 +11,15 @@ on: jobs: build: runs-on: ubuntu-latest - - strategy: - matrix: - go-version: [1.21] - node: [ 18 ] steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go-version }} + go-version-file: go.mod id: go - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node }} - id: node - - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - name: Build run: make test @@ -41,4 +31,4 @@ jobs: # Replace `linux` below with the appropriate OS curl -Os https://uploader.codecov.io/latest/linux/codecov chmod +x codecov - ./codecov -t ${CODECOV_TOKEN} \ No newline at end of file + ./codecov -t ${CODECOV_TOKEN} diff --git a/go.mod b/go.mod index 05fdfb1..9bc5de9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/jmartin82/mmock/v3 -go 1.18 +go 1.23 require ( github.com/basgys/goxml2json v1.1.0