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