From 09cb6b975923064864485c8c90487dd025534c93 Mon Sep 17 00:00:00 2001 From: FantasticFiasco Date: Fri, 29 Mar 2024 15:05:47 +0100 Subject: [PATCH 1/3] chore: bootstrap ci github actions workflow --- .editorconfig | 3 ++- .github/workflows/ci.yml | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.editorconfig b/.editorconfig index b6a8b3b..3b5988f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,6 +5,7 @@ root = true [*] indent_style = space +insert_final_newline = true [*.cs] indent_size = 4 @@ -61,4 +62,4 @@ indent_size = 4 indent_size = 2 [*.{yaml,yml}] -indent_size = 2 \ No newline at end of file +indent_size = 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e2f2b33 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,11 @@ +name: CI + +on: + push: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo "Hello world" From ba12a86e6317d05cc2fff8af2523cc3aa5075f80 Mon Sep 17 00:00:00 2001 From: Mattias Kindborg Date: Fri, 29 Mar 2024 15:16:47 +0100 Subject: [PATCH 2/3] chore: use github actions as ci pipeline (#105) --- .github/workflows/ci.yml | 4 +++- README.md | 4 ++-- appveyor.yml | 12 ------------ build/build.sh | 9 --------- 4 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 appveyor.yml delete mode 100755 build/build.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2f2b33..e26adcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,4 +8,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "Hello world" + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - run: docker-compose build diff --git a/README.md b/README.md index 5418bdb..e0a25ad 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Serilog.Sinks.Http - Sample in .NET Core -[![Build status](https://ci.appveyor.com/api/projects/status/n6xpr0vxexlb1oro/branch/master?svg=true)](https://ci.appveyor.com/project/FantasticFiasco/serilog-sinks-http-sample-dotnet-core/branch/master) +[![CI](https://github.com/FantasticFiasco/serilog-sinks-http-sample-dotnet-core/actions/workflows/ci.yml/badge.svg)](https://github.com/FantasticFiasco/serilog-sinks-http-sample-dotnet-core/actions/workflows/ci.yml) This repository contains a sample application of [Serilog.Sinks.Http](https://github.com/FantasticFiasco/serilog-sinks-http) producing log events sent over HTTP to a basic log server. @@ -15,4 +15,4 @@ What you will end up with is two containers, one producing log events while the ## Remarks - The sample application is using a custom implementation of a HTTP client, mainly to show that it is possible to do so. But don't specify a custom implementation if you don't have to. -- The sink is configured in code, but could as well be configured in `appsettings.json` using [Serilog.Settings.Configuration](https://github.com/serilog/serilog-settings-configuration). \ No newline at end of file +- The sink is configured in code, but could as well be configured in `appsettings.json` using [Serilog.Settings.Configuration](https://github.com/serilog/serilog-settings-configuration). diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d36ec8e..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,12 +0,0 @@ -image: ubuntu - -stack: - - python 3.8 - -services: - - docker - -build_script: - - ./build/build.sh - -test: off diff --git a/build/build.sh b/build/build.sh deleted file mode 100755 index 630089e..0000000 --- a/build/build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -set -euxo pipefail - -# Install docker-compose -pip install --upgrade pip -pip install docker-compose - -# Build -docker-compose build From 594e4cfeb558940c94e1bc77477edbd5a3323ea6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 15:17:57 +0100 Subject: [PATCH 3/3] chore(deps): update dependency bogus to v35 (#102) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- sample/sample.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/sample.csproj b/sample/sample.csproj index c31baf2..daed594 100644 --- a/sample/sample.csproj +++ b/sample/sample.csproj @@ -7,7 +7,7 @@ - +