Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI workflow #91

Merged
merged 13 commits into from
Oct 13, 2024
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: AutoClicker CI

on:
pull_request:
branches:
- "*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore AutoClicker/AutoClicker.csproj /p:EnableWindowsTargeting=true
- name: Build
run: dotnet build --no-restore AutoClicker/AutoClicker.csproj /p:EnableWindowsTargeting=true
- name: Test
run: dotnet test --no-build --verbosity normal AutoClicker/AutoClicker.csproj /p:EnableWindowsTargeting=true
Loading