Revert msg decoding #88
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: | |
types: [opened, synchronize] | |
jobs: | |
build-test-cov: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
8.0.x | |
- name: Restore | |
run: dotnet restore | |
working-directory: ./ | |
- name: Build | |
run: dotnet build --no-restore -c Release | |
working-directory: ./ | |
- name: Test | |
run: | | |
dotnet tool install --global coverlet.console | |
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=./coverage.info | |
shell: bash | |
env: | |
THIRDWEB_SECRET_KEY: ${{ secrets.THIRDWEB_SECRET_KEY }} | |
THIRDWEB_CLIENT_ID_BUNDLE_ID_ONLY: ${{ secrets.THIRDWEB_CLIENT_ID_BUNDLE_ID_ONLY }} | |
THIRDWEB_BUNDLE_ID_BUNDLE_ID_ONLY: ${{ secrets.THIRDWEB_BUNDLE_ID_BUNDLE_ID_ONLY }} | |
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
- name: Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./ | |
verbose: true | |
slug: thirdweb-dev/thirdweb-dotnet |