Skip to content

remove id on entity inherited class and tidy code #29

remove id on entity inherited class and tidy code

remove id on entity inherited class and tidy code #29

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: πŸ“¦ Setup Dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: πŸ“¦ Dotnet Restore
run: dotnet restore
- name: πŸ“¦ Dotnet Build
run: dotnet build --no-restore
- name: πŸ”§ Setup Cache Folder
run: mkdir -p ~/image-cache
- name: πŸ”§ Try Get Cache
id: image-cache
uses: actions/cache@v1
with:
path: ~/image-cache
key: image-cache-${{ runner.os }}
- name: πŸ”§ If Cache miss
if: steps.image-cache.outputs.cache-hit != 'true'
run: |
docker pull mcr.microsoft.com/mssql/server:2019-CU18-ubuntu-20.04
docker save -o ~/image-cache/mssql.tar alpine
- name: πŸ”§ If Cache hit
if: steps.image-cache.outputs.cache-hit == 'true'
run: docker load -i ~/image-cache/mssql.tar
- name: 🀞 Dotnet Test
run: dotnet test --no-build --verbosity normal