Skip to content

Commit

Permalink
Updates version of go to test againt, also updates dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
ksysoev committed Apr 24, 2024
1 parent 6cb1e89 commit 118bca1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: Deriv API
name: Deriv API

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.19.x', '1.20.x', '1.21.x' ]
go-version: ["1.20.x", "1.21.x", "1.22.x"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
Expand All @@ -29,4 +28,4 @@ jobs:
cat coverage.out | grep -v "/schema.go" | grep -v "/calls.go" | grep -v "/custom_subscription_calls.go" | grep -v "subscription_calls.go" > coverage.final.out
mv coverage.final.out coverage.out
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/ksysoev/deriv-api

go 1.20

require golang.org/x/net v0.17.0
require golang.org/x/net v0.19.0
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=

0 comments on commit 118bca1

Please sign in to comment.