Skip to content

Merge pull request #3 from DenzelPenzel/dependabot/go_modules/github.… #11

Merge pull request #3 from DenzelPenzel/dependabot/go_modules/github.…

Merge pull request #3 from DenzelPenzel/dependabot/go_modules/github.… #11

Workflow file for this run

# Go test workflow
name: test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Install project dependencies
run: |
go mod download
- name: Build App
run: make build-app
go-test:
outputs:
COVERAGE: ${{ steps.unit.outputs.coverage }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Install project dependencies
run: |
go mod download
- name: Run Tests
id: unit
run: |
make test