From b2c692a8b3e86c38279b3e4f2cdbd2f3f584e43a Mon Sep 17 00:00:00 2001 From: jamesmoore Date: Wed, 11 Mar 2026 07:27:54 +0000 Subject: [PATCH 1/2] workflow cleanup --- .github/workflows/docker-cleanup.yml | 18 +++++++++++++++++ .github/workflows/pull-request.yml | 30 ---------------------------- 2 files changed, 18 insertions(+), 30 deletions(-) create mode 100644 .github/workflows/docker-cleanup.yml delete mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/docker-cleanup.yml b/.github/workflows/docker-cleanup.yml new file mode 100644 index 0000000..8cc81bd --- /dev/null +++ b/.github/workflows/docker-cleanup.yml @@ -0,0 +1,18 @@ +name: Docker cleanup + +on: + workflow_dispatch: + +permissions: + packages: write + +jobs: + delete_versions: + runs-on: ubuntu-latest + steps: + - uses: actions/delete-package-versions@v5 + with: + package-name: 'autogram-solver' + package-type: 'container' + min-versions-to-keep: 10 + delete-only-untagged-versions: false diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml deleted file mode 100644 index 3299a89..0000000 --- a/.github/workflows/pull-request.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Build and test - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -on: - workflow_dispatch: - pull_request: - branches: [ main ] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v6 - with: - submodules: recursive - - name: Setup .NET - uses: actions/setup-dotnet@v5 - with: - dotnet-version: 10.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true From 5378407884e6f71bf57a28003823f35458b1e3e2 Mon Sep 17 00:00:00 2001 From: James Moore Date: Wed, 11 Mar 2026 07:29:12 +0000 Subject: [PATCH 2/2] Change package name in docker-cleanup workflow --- .github/workflows/docker-cleanup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-cleanup.yml b/.github/workflows/docker-cleanup.yml index 8cc81bd..f6e21bb 100644 --- a/.github/workflows/docker-cleanup.yml +++ b/.github/workflows/docker-cleanup.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/delete-package-versions@v5 with: - package-name: 'autogram-solver' + package-name: 'sdmeta' package-type: 'container' min-versions-to-keep: 10 delete-only-untagged-versions: false