🐛 fix (test.services): Fixed a type check for the new service con… #10
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 Testing With Gotestsum | |
on: | |
push: | |
branches: | |
- "main" | |
- "dev" | |
- "release/*" | |
permissions: | |
contents: read | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Actions Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Go Compiler | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.x' | |
- name: Install Dependencies | |
run: | | |
make depsget-templ depsget depsget-gotestsum | |
- name: Build | |
run: | | |
make templ build | |
- name: Test | |
run: | | |
make test |