Skip to content

Commit

Permalink
Simplify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zliang-akamai committed Dec 18, 2024
1 parent b60bd57 commit 814732a
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,16 @@ on:

jobs:
build:
strategy:
matrix:
go-version: ["stable", "oldstable"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: "stable"

- run: go version

- name: Build binary
run: make

- name: Test
run: make test

old-go-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: "oldstable"

- run: go version
go-version: ${{ matrix.go-version }}

- name: Build binary
run: make
Expand Down

0 comments on commit 814732a

Please sign in to comment.