This repository contains sample projects and associated GitHub Actions workflows for several sample projects covering Java and C# .Net.
- Clone the repository to your local PC.
- Using the command line build explore the built in tasks that the dotnet build and the Gradle wrapper build tools provide for the C# .net and Java project respectively.
- Generate test reports and documentation for each project. You may have to add doc comments and some additional tests. Experiment by also adding some failing tests.
- Add separate GitHub action workflows for the .net and java projects. The workflows should in the first instance should build and test the respective projects.
- Enhance the workflow files by:
- Separate the build and test jobs.
- Use artifact storage to share build artifacts between jobs.
- Exploring the use of caching of dependencies and other build artifacts to speed up workflow execution. Refer to GitHub Actions and build tool documentation for further guidance.
- Generate and publish test reports.
- Add status badges for each workflow
Gradle getting started
dotnet build CLI
Building and testing Java with Gradle
Building and testing .NET
Dependency caching reference
A Better Way to Use Gradle With Github Actions
Gradle Cache Action
Adding a workflow status badge
Configuring a publishing source for your GitHub Pages site
A composite Action for packaging and uploading artifact that can be deployed to GtiHub pages