Skip to content

Commit

Permalink
Add different os (ubuntu) to test and build
Browse files Browse the repository at this point in the history
  • Loading branch information
joliveiradantas authored Apr 22, 2024
1 parent 8c60b8d commit a2eec2f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
jobs:

test:
runs-on: ubuntu-latest
name: Test on go ${{ matrix.go_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
go_version: ['1.18', '1.17', '>=1.18']
os: [ubuntu-latest, ubuntu-20.04]
steps:
- uses: actions/checkout@v3

Expand All @@ -33,7 +35,11 @@ jobs:

build:
needs: test
runs-on: ubuntu-latest
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04]
steps:
- uses: actions/checkout@v3
- name: Build
Expand Down

0 comments on commit a2eec2f

Please sign in to comment.