diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 67c006f5..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: thesamet diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 3195140f..00000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: CI - -on: [push, pull_request] - -jobs: - build: - runs-on: ${{matrix.os}} - strategy: - matrix: - os: ["ubuntu-latest", "macos-latest", "windows-latest"] - - steps: - - uses: actions/checkout@v4 - - uses: olafurpg/setup-scala@v14 - with: - java-version: 8 - - name: Mount caches - uses: actions/cache@v2 - with: - path: | - ~/.sbt - ~/.ivy2/cache - ~/.cache/coursier - key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }} - - name: Remove native tests (Windows only) - if: ${{ runner.os == 'Windows' }} - run: | - rm -rf examples/scalapb-crossproject - shell: bash - - name: Compile and test - run: | - sbt test - cd examples - for d in */ ; do cd "$d" && sbt test && cd ../ ; done - shell: bash - - name: Format check - if: ${{ runner.os == 'Linux' }} - run: | - sbt scalafmtCheck test:scalafmtCheck scalafmtSbtCheck - scripted: - runs-on: ${{matrix.os}} - strategy: - fail-fast: false - matrix: - os: ["ubuntu-latest", "macos-latest", "windows-latest"] - scripted-sbt: ["1.2.8", "1.3.13", "project"] - - steps: - - uses: actions/checkout@v4 - - uses: olafurpg/setup-scala@v14 - with: - java-version: 11 - - name: Mount caches - uses: actions/cache@v2 - with: - path: | - ~/.sbt - ~/.ivy2/cache - ~/.cache/coursier - key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }} - - name: Compile and run scripted tests with older version - if: ${{ matrix.scripted-sbt != 'project' }} - env: - SCRIPTED_SBT: ${{ matrix.scripted-sbt }} - run: | - sbt "set scriptedSbt := \"$SCRIPTED_SBT\"" scripted - shell: bash - - name: Compile and run scripted tests with project version - if: ${{ matrix.scripted-sbt == 'project' }} - run: | - sbt "set scriptedSbt := sbtVersion.value" scripted - shell: bash - # Single final job for mergify. - ci-passed: - runs-on: ubuntu-latest - needs: [build, scripted] - steps: - - run: ':' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 4ac250a4..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Release - -on: - push: - branches: [master] - tags: ["v*"] - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Scala caches - uses: actions/cache@v2 - with: - path: | - ~/.sbt - ~/.ivy2/cache - ~/.cache/coursier - key: ${{ runner.os }}-sbt-docs-${{ hashFiles('**/*.sbt') }} - - uses: actions/setup-java@v1 - with: - java-version: 8 - - name: Publish ${{ github.ref }} - run: sbt ci-release - env: - PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} - PGP_SECRET: ${{ secrets.PGP_SECRET }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}