From 696ccf646c04a42d85dbe92ad337ae0a2208177d Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Sun, 28 Jun 2020 23:47:28 -0400 Subject: [PATCH 1/4] Create dotnet-core.yml --- .github/workflows/dotnet-core.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/dotnet-core.yml diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml new file mode 100644 index 0000000..f734ea7 --- /dev/null +++ b/.github/workflows/dotnet-core.yml @@ -0,0 +1,25 @@ +name: .NET Core + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.101 + - name: Install dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + - name: Test + run: dotnet test --no-restore --verbosity normal From 65145764133fa9a3a5c252dfd9905684300862bc Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Sun, 28 Jun 2020 23:50:50 -0400 Subject: [PATCH 2/4] actions: changed working dir --- .github/workflows/dotnet-core.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index f734ea7..129f556 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -10,6 +10,8 @@ jobs: build: runs-on: ubuntu-latest + env: + working-directory: ./src steps: - uses: actions/checkout@v2 From ddaabb6470b138a096f0b793ba552e50ac1e129a Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Sun, 28 Jun 2020 23:52:59 -0400 Subject: [PATCH 3/4] added working-directory to build steps --- .github/workflows/dotnet-core.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 129f556..c6b7818 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -21,7 +21,10 @@ jobs: dotnet-version: 3.1.101 - name: Install dependencies run: dotnet restore + working-directory: ${{env.working-directory}} - name: Build run: dotnet build --configuration Release --no-restore + working-directory: ${{env.working-directory}} - name: Test run: dotnet test --no-restore --verbosity normal + working-directory: ${{env.working-directory}} From dd9015fd46cc59ce874b9e1cd10e94d7f1b20668 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Mon, 29 Jun 2020 00:07:28 -0400 Subject: [PATCH 4/4] Create README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..05f451e --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +![Test](https://github.com/NicolasConstant/BirdsiteLive/workflows/.NET%20Core/badge.svg?branch=master&event=push) + +# BirdsiteLive +An ethical ActivityPub bridge from Twitter