diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..5ecd053a9 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ + +name: Build Pull Requests + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Runs docker build with JSII superchain + run: docker run --rm --net=host -t -v $PWD:$PWD -w $PWD jsii/superchain /bin/bash -c "scripts/build.sh" + diff --git a/csharp/random-writer/src/RandomWriter/RandomWriter.csproj b/csharp/random-writer/src/RandomWriter/RandomWriter.csproj index 975e31751..1a3dbe32e 100644 --- a/csharp/random-writer/src/RandomWriter/RandomWriter.csproj +++ b/csharp/random-writer/src/RandomWriter/RandomWriter.csproj @@ -6,12 +6,12 @@ - - - - - + + + + + - + diff --git a/scripts/build-csharp.sh b/scripts/build-csharp.sh old mode 100644 new mode 100755