* Bump to Rust 1.63
* Fix clippy warnings
* Suppress clippy warning
* More clippy fixes
* Print cargo-license version
* Ignore unmaintained warning
* Pin cargo-license to 0.4.2, 0.5 breaks us
* Suppress in proxy build as well
* More Eqs
* More clippy fixes
The agent build takes most of the CI runtime, so improve it by only rebuilding if the pre-reqs or something inside `src/agent` changes.
We will always skip the cache for builds on tags and from the `main` branch, so that version is stamped correctly there.
Move integration tests into their own project. This makes it easier to run unit tests if you don't want to (or don't have) `azurite` running, since you can `dotnet test` just that directory.
Also add a check into the `AzuriteStorage` class that will abort the entire test run if `azurite` is not running, which is simpler than reading lots of socket exceptions.
Adds implementation of the `info` function.
Added support for blobs in the function integration test stuff.
Simplified usage of integration test classes by removing the account name parameter.
Add support for function tests and the ability to run them against either real Azure Storage or the Azurite emulator.
See follow-up PR #2032 for actual usage.
Attempt to speed up CI builds:
1. Disable incremental builds when using `sccache` (incremental can't be cached)
2. Set `--locked` on all invocations of cargo
3. Add `restore-keys` for Github cache action
## Summary of the Pull Request
Collect .NET coverage during build and display it in GitHub Summary.
## Info on Pull Request
Add the `reportgenerator` tool, run it after tests.
## Validation Steps Performed
Run workflow and make sure it works.
See example coverage output here: https://github.com/microsoft/onefuzz/actions/runs/2458088617
* updating deploy.py for dotnet packages
* dotnet deployment needs to be along side python if flagged
* indivdual deployment state for dotnet api since this will deploy alongside python api
* correcting state order for dotnet-api deployment step to follow python api deployment
* cleanup deploy.py formatting
* Adding dotnet's zip package arguments to deploy and fixing func command flags
* Updating ci.yml for dotnet artifacts and adding az-local.settings.json for functionapp deployment
* fixing directory path on ci.yml
* changed single quote to double to pass black check
* keeping changes to deploy.py staged in separate branch
* missing newline at EOF
Co-authored-by: AdamLeclerc-Microsoft <103067949+AdamLeclerc-Microsoft@users.noreply.github.com>
All of the rest of the python codebases within the repo use flake8 as
part of the lint process. This aligns the deployment code with the
practice.
Co-authored-by: Brian Caswell <bmc@shmoo.com>