Fixed job management #4
This file contains hidden or 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
# This workflow will install Go-Lang dependencies, run tests with a variety of Go-Lang versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Unit-Testing, Coverage | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- feature/* | |
- bug/* | |
pull_request: | |
branches: | |
- master | |
- develop | |
- feature/* | |
- bug/* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: | |
- "1.22" | |
- "1.23" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Run Tests | |
run: | | |
make test | |
- name: Run Coverage | |
run: | | |
make coverage |