Update token configuration instructions in readme #242
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v2 | |
- name: Setup .NET Core 6.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.100 | |
- name: Setup .NET Core 7.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.0.x' | |
include-prerelease: true | |
- name: Restore | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Debug --no-restore | |
- name: Pull docker image | |
run: docker pull jaredpar/runfo:v0.1.0 | |
- name: Run docker image | |
run: docker run --rm -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=password@0" -p 1433:1433 --name sql-runfo-test -h sql1 -d jaredpar/runfo:v0.1.0 | |
- name: Test | |
run: dotnet test --no-restore --verbosity normal | |
- name: Stop docker image | |
run: docker kill sql-runfo-test |