diff --git a/.github/workflows/docker-cleanup.yml b/.github/workflows/docker-cleanup.yml new file mode 100644 index 0000000..f6e21bb --- /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: 'sdmeta' + 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