Add contract and module events #665
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 | |
on: | |
pull_request: | |
branches: [ main ] | |
env: | |
RUST_VERSION: "1.65" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore ./backend/CcScan.Backend.sln | |
- name: Build | |
run: dotnet build ./backend/CcScan.Backend.sln -c Release --no-restore | |
- name: Test | |
run: | | |
# Tests depend on docker-compose being available due to this issue https://github.com/mariotoffia/FluentDocker/issues/312. | |
# The soft linking should be remove when a fix is released. | |
ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/local/bin/docker-compose | |
dotnet test ./backend/CcScan.Backend.sln --filter Category!=IntegrationTests -c Release --no-build --verbosity normal |