[SVR-290] 슈퍼푸드 레벨 업 구현 #225
Workflow file for this run
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: Backend build and test | |
on: | |
push: | |
tags: ["*"] | |
pull_request: | |
types: [ready_for_review, opened, reopened, auto_merge_enabled] | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
build-and-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'backend/app/' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Create local setttings.json | |
run: bash scripts/create-local-appsettings.sh | |
- name: Build and test | |
run: | | |
dotnet test --no-restore |