Skip to content

Commit

Permalink
Bump Go version to 1.23 and update GitHub Actions (#184)
Browse files Browse the repository at this point in the history
Co-authored-by: Jordi Martin <[email protected]>
  • Loading branch information
joschi and jmartin82 authored Sep 6, 2024
1 parent e97e5c6 commit 1c15636
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
./codecov -t ${CODECOV_TOKEN}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/jmartin82/mmock/v3

go 1.18
go 1.23

require (
github.com/basgys/goxml2json v1.1.0
Expand Down

0 comments on commit 1c15636

Please sign in to comment.