Fix typos (#48) #187
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: .NET Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Check out Code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Run cake | |
shell : bash | |
env: | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
dotnet tool install Cake.Tool --version 1.1.0 | |
dotnet tool restore | |
sh -c "$(curl -sSfL https://release.solana.com/v1.14.11/install)" | |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" | |
solana-test-validator -u m -c whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc -c CtXfPzz36dH5Ws4UYKZvrQ1Xqzn42ecDW6y8NKuiN8nD -c metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s -c PwDiXFxQsGra4sFFTT8r1QWRMd4vfumiWC1jfWNfdYT --mint 5ZWj7a1f8tWkjBESHKgrLmXshuXxqeY9SYcfbshpAqPG > /dev/null & | |
sleep 5 | |
dotnet cake --target=Report --verbosity=verbose | |
- name: Publish coverage report to coveralls.io | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: code_coverage/results.info |