Skip to content

Commit

Permalink
Make it Go 1.19 only
Browse files Browse the repository at this point in the history
We can drop 1.17 now.
  • Loading branch information
fsouza committed Oct 21, 2022
1 parent 9d52c58 commit ce146bb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 42 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,11 @@ jobs:
- name: build and verify
run: make api-verify
lint:
strategy:
matrix:
go-version:
- 1.17.x
- 1.19.x

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
go-version: 1.19.x
- name: lint
run: make api-lint
24 changes: 3 additions & 21 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,13 @@ on:
- Makefile
jobs:
build:
strategy:
matrix:
go-version:
- 1.17.x
- 1.19.x

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
id: setup-go
with:
go-version: ${{ matrix.go-version }}
go-version: 1.19.x
- name: go mod cache
uses: actions/cache@v3
with:
Expand All @@ -44,19 +38,13 @@ jobs:
${{ runner.os }}-go-build-
- run: make backend
test:
strategy:
matrix:
go-version:
- 1.17.x
- 1.19.x

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
id: setup-go
with:
go-version: ${{ matrix.go-version }}
go-version: 1.19.x
- name: go mod cache
uses: actions/cache@v3
with:
Expand All @@ -83,19 +71,13 @@ jobs:
- uses: actions/checkout@v3
- run: make backend-integration-test
lint:
strategy:
matrix:
go-version:
- 1.17.x
- 1.19.x

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
id: setup-go
with:
go-version: ${{ matrix.go-version }}
go-version: 1.19.x
- name: go mod cache
uses: actions/cache@v3
with:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,14 @@ jobs:
- run: make frontend-verify
- run: yarn --cwd frontend test:licenses
test-e2e:
strategy:
matrix:
go-version:
- 1.17.x
- 1.19.x

name: test e2e
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
id: setup-go
with:
go-version: ${{ matrix.go-version }}
go-version: 1.19.x
- uses: actions/setup-node@v3
with:
node-version: '16.x'
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/scaffolding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,14 @@ env:
PACKAGEPATH: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
jobs:
build:
strategy:
matrix:
go-version:
- 1.17.x
- 1.19.x

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: ${{ env.PACKAGEPATH }}
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
go-version: 1.19.x
- uses: actions/setup-node@v3
with:
node-version: '16.x'
Expand Down

0 comments on commit ce146bb

Please sign in to comment.