diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 120c689..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" \ No newline at end of file diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 6d9c0a2..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,59 +0,0 @@ -name-template: '$RESOLVED_VERSION' -tag-template: '$RESOLVED_VERSION' - -version-resolver: - major: - labels: - - 'major' - minor: - labels: - - 'minor' - patch: - labels: - - 'patch' - default: minor - -categories: - - title: 'Features' - label: 'enhancement' - - title: 'Bug Fixes' - label: 'bug' - -exclude-labels: - - 'skip' - -autolabeler: - - label: 'bug' - title: - - '/.*\[fix\].*/' - - label: 'patch' - title: - - '/.*\[fix\].*/' - - label: 'enhancement' - title: - - '/.*\[feat\].*/' - - label: 'minor' - title: - - '/.*\[feat\].*/' - - label: 'skip' - title: - - '/.*\[skip\].*/' - - label: 'major' - title: - - '/.*\[breaking\].*/' - -replacers: - - search: '/\[feat\]/g' - replace: '' - - search: '/\[fix\]/g' - replace: '' - - search: '/\[skip\]/g' - replace: '' - - search: '/\[breaking\]/g' - replace: '' - -template: | - # What's Changed - - $CHANGES - diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1822d65..a6187c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,22 +1,24 @@ name: CI on: + push: + branches: ["master"] pull_request: - types: [ opened, reopened, synchronize ] + branches: ["master"] -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +permissions: + contents: read jobs: ci: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: coursier/cache-action@v6 - uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 check-latest: true + cache: 'sbt' - name: run tests - run: sbt 'clean;test' + run: sbt 'clean; scalafmtCheckAll; test' diff --git a/.github/workflows/drafter.yml b/.github/workflows/drafter.yml deleted file mode 100644 index bcbc1f7..0000000 --- a/.github/workflows/drafter.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Release Drafter - -on: - push: - branches: - - main - - pull_request: - types: [opened, reopened, synchronize] - -permissions: - contents: read - -jobs: - update_release_draft: - runs-on: ubuntu-latest - permissions: - # write permission is required to create a github release - contents: write - # write permission is required for autolabeler - # otherwise, read permission is required at least - pull-requests: write - steps: - - uses: release-drafter/release-drafter@v6.0.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}