From 9fc5cacbf1737857bf5491ebd058d0062cd8b855 Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 3 Aug 2022 22:57:39 +0100 Subject: [PATCH] adding ci --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..00432de --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: ci + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + dotnet-version: [ '3.1.x' ] + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} + uses: actions/setup-dotnet@v2.1.0 + with: + dotnet-version: ${{ matrix.dotnet-version }} + + - name: Install Dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release --no-restore + # - name: Test + # run: dotnet test --no-restore --verbosity normal diff --git a/README.md b/README.md index 88f101a..3527ade 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ [Music Tools.NET](https://music.sarsoo.xyz) ================== +![ci](https://github.com/sarsoo/Music-Tools.NET/actions/workflows/ci.yml/badge.svg) + Set of experiments in supplementary components to the [Music Tools](https://github.com/Sarsoo/Music-Tools) Spotify smart playlist platform in .NET. \ No newline at end of file