Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PABERTHIER committed Jun 28, 2024
1 parent f379bf1 commit e03c55f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 20 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build & Test

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

env:
PROJECT_NAME: PhotoManager/PhotoManager.sln

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Display .NET version
run: dotnet --info

- name: Restore dependencies
run: dotnet restore $PROJECT_NAME

- name: Build
run: dotnet build $PROJECT_NAME --no-restore

- name: Test
run: dotnet test $PROJECT_NAME --no-build --verbosity normal
20 changes: 0 additions & 20 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit e03c55f

Please sign in to comment.