diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9a121fd --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +on: [push, pull_request] +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + - name: Build + run: dotnet build Contentless + - name: Build test project + run: | + dotnet restore Test + dotnet run --project Contentless Test/Content/Content.mgcb Test/Test.csproj + dotnet build Test \ No newline at end of file diff --git a/.woodpecker/main.yml b/.woodpecker/main.yml deleted file mode 100644 index 605b82c..0000000 --- a/.woodpecker/main.yml +++ /dev/null @@ -1,11 +0,0 @@ -steps: - build: - image: mcr.microsoft.com/dotnet/sdk:8.0-jammy - commands: - - dotnet build Contentless - test: - image: mcr.microsoft.com/dotnet/sdk:8.0-jammy - commands: - - dotnet restore Test - - dotnet run --project Contentless Test/Content/Content.mgcb Test/Test.csproj - - dotnet build Test