From cd4e605ec9361239dc83d930177e0a6f51960788 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Sat, 6 Jan 2024 14:13:14 +0800 Subject: [PATCH 1/3] Add GitHubActions job to build --- .github/workflows/CI.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..efaa0c1 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,35 @@ +name: CI + +on: + - push + - pull_request + +jobs: + build: + name: Build + runs-on: ubuntu-22.04 + container: + image: "ubuntu:22.04" + steps: + - uses: actions/checkout@v2 + - name: Install required dependencies + run: | + apt update + apt install --yes sudo + sudo apt install --yes --no-install-recommends git + # workaround for https://github.com/actions/runner/issues/2033 + - name: ownership workaround + run: git config --global --add safe.directory '*' + + - name: Setup .NET + run: | + # We need to install `ca-certificates`, otherwise we get these errors in the CI: + # Unable to load the service index for source https://api.nuget.org/v3/index.json. + # The SSL connection could not be established, see inner exception. + # The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot + apt install --yes --no-install-recommends ca-certificates + + apt install --yes --no-install-recommends dotnet6 + + - name: Compile the main solution + run: dotnet build From 8ec51912342eb5b453edd17ba9be3613aaafcdda Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Mon, 13 Sep 2021 11:57:18 +0800 Subject: [PATCH 2/3] Fix CI build --- FsharpExchange.Tests/FsharpExchange.Tests.csproj | 2 +- FsharpExchangeDotNetCoreApp/FsharpExchangeDotNetCoreApp.fsproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FsharpExchange.Tests/FsharpExchange.Tests.csproj b/FsharpExchange.Tests/FsharpExchange.Tests.csproj index 8042444..0af1412 100644 --- a/FsharpExchange.Tests/FsharpExchange.Tests.csproj +++ b/FsharpExchange.Tests/FsharpExchange.Tests.csproj @@ -6,7 +6,7 @@ - + diff --git a/FsharpExchangeDotNetCoreApp/FsharpExchangeDotNetCoreApp.fsproj b/FsharpExchangeDotNetCoreApp/FsharpExchangeDotNetCoreApp.fsproj index 7f0b555..a7e5155 100644 --- a/FsharpExchangeDotNetCoreApp/FsharpExchangeDotNetCoreApp.fsproj +++ b/FsharpExchangeDotNetCoreApp/FsharpExchangeDotNetCoreApp.fsproj @@ -11,6 +11,6 @@ - + From 0d4e2c9547eb4a3c1334403750c8a9a62cb4bd81 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Sat, 6 Jan 2024 14:23:40 +0800 Subject: [PATCH 3/3] LICENCE: update [no ci] --- LICENCE.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/LICENCE.txt b/LICENCE.txt index e9a0bfd..601eb86 100644 --- a/LICENCE.txt +++ b/LICENCE.txt @@ -2,6 +2,7 @@ The MIT License Copyright (c) 2017-2018 Gate Digital Services Ltd. (Gatecoin) Copyright (c) 2018 Diginex Ltd. (www.diginex.com) +Copyright (c) 2017-2024 Andres G. Aragoneses Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal