From 227a6b784915d6e91357a142c5e658bb00e175fb Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Mon, 15 Jul 2024 23:29:10 +0100 Subject: [PATCH] go.mod: bump Go version to 1.20 Signed-off-by: Radostin Stoyanov --- .github/workflows/main.yml | 6 +++--- go.mod | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index af11dafef..70a5bca1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,13 +13,13 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.18.x, 1.19.x, 1.20.x] + go-version: [1.20.x, 1.21.x, 1.22.x] criu_branch: [master, criu-dev] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # needed for codecov fetch-depth: 0 @@ -32,7 +32,7 @@ jobs: sudo make -C criu install-criu PREFIX=/usr - name: Install Go ${{ matrix.go-version }} - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} diff --git a/go.mod b/go.mod index b34a6fbfc..dd6fc54f9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/checkpoint-restore/go-criu/v7 -go 1.18 +go 1.20 require ( github.com/spf13/cobra v1.8.1