diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5d30ddaa..0dfc2cba 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ^1.13 + go-version: ^1.20 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1712d274..fe4c29fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,13 +9,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ macos-12, windows-latest, ubuntu-latest ] - go: [ 1.12, 1.13, 1.14 ] + os: [ macos-latest, windows-latest, ubuntu-latest ] + go: [ 1.20, 1.21, 1.22 ] steps: - name: Checkout the code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up golang with version ${{ matrix.go }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Run tests diff --git a/go.mod b/go.mod index 6128a077..c14b0ff1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/opsgenie/oec -go 1.12 +go 1.20 replace ( github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2