Skip to content

Commit

Permalink
Remove build_old and rename build_new to build
Browse files Browse the repository at this point in the history
This PR bumps the required Go version to 1.19, so the old builds will
no longer work. Keep only 1.19 tests.

Signed-off-by: Dionna Glaze <[email protected]>
  • Loading branch information
deeglaze committed Oct 10, 2022
1 parent f599e6c commit 6b167a0
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,39 +25,7 @@ on:
pull_request:

jobs:
build_old:
strategy:
matrix:
go-version: [1.16.x, 1.17.x, 1.18.x]
# TODO: Get this working on windows-latest
os: [ubuntu-latest]
name: Build/Test (${{ matrix.os }}, Go ${{ matrix.go-version }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Install Linux packages
run: sudo apt-get -y install libssl-dev
if: runner.os == 'Linux'
- name: Install Mac packages
run: brew install openssl
if: runner.os == 'macOS'
- name: Install Windows packages
run: choco install openssl
if: runner.os == 'Windows'
- name: Build/Test root module
run: |
go build -v ./...
go test -v ./...
- name: Build/Test cmd module
working-directory: ./cmd
run: |
go build -v ./...
go test -v ./...
build_new:
build:
strategy:
matrix:
go-version: [1.19.x]
Expand Down

0 comments on commit 6b167a0

Please sign in to comment.