diff options
| author | Eric Biggers <ebiggers@google.com> | 2022-04-08 15:55:58 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2022-04-08 16:08:12 -0700 |
| commit | 657a1f0f44b61725f1b8041bceef6f262ffcb770 (patch) | |
| tree | bdc0134d83ac36aa3c2ff99a6a7e23a27a049ee7 /.github | |
| parent | f28f2be05de938b1c2da7a88569bf6611250a9e2 (diff) | |
Bump up required Go version to 1.16
Bump up the required Go version to 1.16 so that we can assume that Go
modules are enabled by default. Go 1.16 is the latest end-of-life
release, so this makes it so that we support the latest end-of-life
release (1.16), the current maintainance release (1.17), the current
release (1.18), and future releases. This the same approach we took
when we last bumped up the required Go version.
Also update the ci.yml file to test with these versions.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdd3021..a10d117 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: build: strategy: matrix: - go: ['1.14', '1.13', '1.12', '1.11'] + go: ['1.18', '1.17', '1.16'] name: Build (Go ${{ matrix.go }}) runs-on: ubuntu-latest steps: @@ -40,7 +40,7 @@ jobs: sudo apt-get update sudo apt-get install -y libpam0g-dev - name: Build - run: GO111MODULE=on make + run: make build-32bit: name: Build (32-bit) @@ -97,7 +97,6 @@ jobs: # apt-get install -y build-essential git sudo golang-go \ # libpam0g-dev e2fsprogs keyutils # run: | - # export GO111MODULE=on # make test-setup # keyctl link @u @s # make test |