diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 89ae14470cd78..0000000000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Lint - -on: [push, pull_request] - -permissions: - contents: read - -jobs: - lint: - runs-on: ubuntu-latest - env: - BUNDLE_WITHOUT: db:job:cable:storage - - steps: - - uses: actions/checkout@v4 - - - name: Remove Gemfile.lock - run: rm -f Gemfile.lock - - - name: Set up Ruby 3.3 - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.3 - bundler-cache: true - - - name: mdl - run: bundle exec rake -f guides/Rakefile guides:lint - - - run: tools/railspect changelogs . - - run: tools/railspect configuration . - - - uses: zzak/action-discord@v8 - continue-on-error: true - if: failure() && github.ref_name == 'main' - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - webhook: ${{ secrets.DISCORD_WEBHOOK }} diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml deleted file mode 100644 index 447fd03565e26..0000000000000 --- a/.github/workflows/rubocop.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: RuboCop - -on: [push, pull_request] - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - env: - BUNDLE_ONLY: rubocop - - steps: - - uses: actions/checkout@v4 - - - name: Set up Ruby 3.3 - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.3 - bundler-cache: true - - - name: Run RuboCop - run: bundle exec rubocop --parallel - - - uses: zzak/action-discord@v8 - env: - BUNDLE_ONLY: "" - continue-on-error: true - if: failure() && github.ref_name == 'main' - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - webhook: ${{ secrets.DISCORD_WEBHOOK }}