diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3eddd40..77bf9c3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.20 uses: actions/setup-go@v1 with: - go-version: 1.18 + go-version: 1.20 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 79e418d..025a75d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -45,7 +45,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '1.18.8' + go-version: '1.20' - uses: actions/checkout@v3 - run: | go mod tidy @@ -60,7 +60,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '1.18.8' + go-version: '1.20' - uses: actions/checkout@v3 - run: | dnf -y install make gcc glib2-devel glibc-static golang @@ -72,10 +72,10 @@ jobs: name: Unit test runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.20 uses: actions/setup-go@v1 with: - go-version: 1.18 + go-version: 1.20 id: go - name: Check out code into the Go module directory diff --git a/go.mod b/go.mod index fbbb8e5..1ab2c5f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/navidys/gopensky -go 1.18 +go 1.20 require ( github.com/h2non/gock v1.2.0