Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mysql-net/Playground
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.1
Choose a base ref
...
head repository: mysql-net/Playground
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 17 commits
  • 5 files changed
  • 1 contributor

Commits on Oct 19, 2019

  1. Release 0.2.2.

    bgrainger committed Oct 19, 2019
    Copy the full SHA
    1662611 View commit details
  2. Release 0.2.3.

    bgrainger committed Oct 19, 2019
    Copy the full SHA
    5f8485c View commit details
  3. Release 0.2.4.

    bgrainger committed Oct 19, 2019
    Copy the full SHA
    a502db2 View commit details

Commits on Jun 11, 2020

  1. Install buildevents.

    bgrainger committed Jun 11, 2020
    Copy the full SHA
    f27ba4b View commit details

Commits on Jun 12, 2020

  1. Copy the full SHA
    476b4ef View commit details
  2. Qualify buildevents path.

    bgrainger committed Jun 12, 2020
    Copy the full SHA
    ea25203 View commit details
  3. Use explicit path.

    bgrainger committed Jun 12, 2020
    Copy the full SHA
    0413949 View commit details
  4. Fix syntax.

    bgrainger committed Jun 12, 2020
    Copy the full SHA
    478985e View commit details
  5. Fix syntax.

    bgrainger committed Jun 12, 2020
    Copy the full SHA
    25c00eb View commit details
  6. Try using GOPATH.

    bgrainger committed Jun 12, 2020
    Copy the full SHA
    e4b1fbf View commit details
  7. Revert "Try using GOPATH."

    This reverts commit e4b1fbf.
    bgrainger committed Jun 12, 2020
    Copy the full SHA
    b3d54c3 View commit details
  8. Copy the full SHA
    15c58c9 View commit details
  9. Change STEP_SPAN_ID.

    bgrainger committed Jun 12, 2020
    Copy the full SHA
    8e04804 View commit details
  10. Only run on Linux.

    bgrainger committed Jun 12, 2020
    Copy the full SHA
    14cc873 View commit details
  11. Copy the full SHA
    ca92751 View commit details
  12. Fix step names.

    bgrainger committed Jun 12, 2020
    Copy the full SHA
    b994686 View commit details

Commits on Jul 6, 2020

  1. Create codeql-analysis workflow.

    Based on GitHub template.
    bgrainger authored Jul 6, 2020
    Copy the full SHA
    32e3423 View commit details
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: .NET Core CI

on:
push:
branches:
- '*'

env:
BUILDEVENT_APIKEY: ${{ secrets.HONEYCOMB_APIKEY }}

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest]

steps:
- run: echo "$(date +%s)" >> ${{ runner.temp }}/build_start
if: runner.os == 'Linux'
- uses: actions/setup-go@v2
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
- name: Install buildevents
run: go get github.com/bgrainger/buildevents/
- name: .NET Restore
run: |
STEP_START=$(date +%s)
/home/runner/go/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} ${{ github.action }} restore -- dotnet restore
/home/runner/go/bin/buildevents step ${{ github.repository }}:${{ github.run_id }} ${{ github.action }} $STEP_START restore
- name: .NET Build
run: |
STEP_START=$(date +%s)
/home/runner/go/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} ${{ github.action }} build -- dotnet build --configuration Release --no-restore
/home/runner/go/bin/buildevents step ${{ github.repository }}:${{ github.run_id }} ${{ github.action }} $STEP_START build
- name: Finish build
run: |
/home/runner/go/bin/buildevents build ${{ github.repository }}:${{ github.run_id }} $(cat ${{ runner.temp }}/build_start) success
53 changes: 53 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: "Code scanning - action"

on:
push:
branches: [master, ]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 18 * * 1'

jobs:
CodeQL-Build:

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: csharp

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
5 changes: 4 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,10 @@ jobs:
- name: Add NuGet source
run: nuget sources Add -Name "GPR" -Source "https://nuget.pkg.github.com/mysql-net/index.json" -UserName bgrainger -Password ${{ secrets.GITHUB_TOKEN }}
- name: Publish to GPR
run: nuget push src\PlaygroundLibrary\bin\Release\PlaygroundLibrary.${{ github.ref }}.nupkg -Source GPR
shell: pwsh
run: |
$tag = "${{ github.ref }}".Substring(10)
nuget push src\PlaygroundLibrary\bin\Release\PlaygroundLibrary.$tag.nupkg -Source GPR
release:
name: Create Release
24 changes: 0 additions & 24 deletions .github/workflows/dotnet.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/PlaygroundLibrary/PlaygroundLibrary.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>0.2.1</VersionPrefix>
<VersionPrefix>0.2.4</VersionPrefix>
<TargetFramework>netstandard2.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Title>Playground Library</Title>