chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /API (… #403
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
# This workflow will build the golang project, create a Mongo database and test it | |
name: API Unit Tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- API/** | |
jobs: | |
api-unit-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./API | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Create MongoDB Container | |
run: cd ../deploy/docker && make test_api | |
- name: Build | |
run: make | |
- name: Test | |
run: go test -p 1 ./... |