Merge pull request #435 from Kuadrant/dependabot/go_modules/golang.or… #1319
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
push: | |
branches: [ 'main', 'master' ] | |
pull_request: | |
branches: [ 'main', 'master' ] | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
strategy: | |
matrix: | |
go-version: [1.19.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run make test | |
run: | | |
make test | |
- name: Run test benchmarks | |
run: | | |
make benchmarks |