Skip to content

Commit

Permalink
Add Go 1.20 support; require Go 1.19; drop Go 1.17 and 1.18
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
  • Loading branch information
austinvazquez committed Feb 6, 2023
1 parent 9538649 commit f257026
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- uses: golangci/golangci-lint-action@v3
with:
version: v1.50
version: v1.51

cross:
runs-on: ubuntu-20.04
Expand All @@ -51,18 +51,18 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- uses: golangci/golangci-lint-action@v3
with:
version: v1.50
version: v1.51
- name: test-stubs
run: make test

test:
strategy:
fail-fast: false
matrix:
go-version: [1.17.x, 1.18.x, 1.19.x]
go-version: [1.19.x, 1.20.x]
race: ["-race", ""]
runs-on: ubuntu-20.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/opencontainers/selinux

go 1.17
go 1.19

require golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8

0 comments on commit f257026

Please sign in to comment.