Skip to content

⬆️ Update 👷 GitHub Action actions/checkout to v4 #294

⬆️ Update 👷 GitHub Action actions/checkout to v4

⬆️ Update 👷 GitHub Action actions/checkout to v4 #294

Workflow file for this run

name: Build and Test
on:
pull_request:
types: [synchronize, opened, edited]
push:
branches: [main]
jobs:
build:
strategy:
matrix:
cfg: [Release, Debug]
os: [ubuntu, macos, windows]
version: ['6.x']
runs-on: ${{ matrix.os }}-latest
env:
DOTNET_NOLOGO: true
steps:
- name: Checkout Repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Setup .NET Core
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3
with:
dotnet-version: ${{ matrix.version }}
- name: Install Dependencies
run: dotnet restore
- name: Install Tools
run: dotnet tool restore
- name: Check Formatting
run: dotnet format --verify-no-changes
- name: Build Project
run: >-
dotnet build --nologo --no-restore
--configuration ${{ matrix.cfg }}
- name: Run Tests
working-directory: ${{github.workspace}}/Atmosphere.Tests
run: >-
dotnet test --nologo --no-restore
--configuration ${{ matrix.cfg }}
--logger GitHubActions