Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

ci: Add dependency vulnerability and outdated checks #1

ci: Add dependency vulnerability and outdated checks

ci: Add dependency vulnerability and outdated checks #1

name: build-and-test
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
build-and-test:
name: Build and Test
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore icsreader.sln
- name: Check for vulnerable dependencies
run: dotnet list icsreader.sln package --vulnerable --include-transitive
- name: Check for outdated dependencies
run: dotnet list icsreader.sln package --outdated
- name: Build solution
# Building for x64 as specified in the plan.
run: dotnet build icsreader.sln --configuration Release --no-restore --arch x64
- name: Run Unit Tests
run: dotnet test tests/icsreader.Tests.Unit --no-build --configuration Release --verbosity normal
# Placeholder for visual tests from devPlan.md
- name: Run Visual Tests
run: echo "Visual testing step placeholder."
# Placeholder for artifact upload from devPlan.md
- name: Upload Artifacts
run: echo "Artifact upload step placeholder."