Remove vim modelines from Ruby files #70
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continuous Integration | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| ruby: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ['2.7', '3.0', '3.1'] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Install dependencies | |
| run: bundle install | |
| - name: Install subversion for functional tests | |
| run: sudo apt-get install -y subversion | |
| - name: Run rspec | |
| run: bundle exec rspec | |
| - name: Run rubocop | |
| run: bundle exec rubocop --display-cop-names | |
| - name: Run integration testing | |
| run: ./test/run.sh | |
| # This doesn't work on PRs from forks due to GITHUB_TOKEN, which makes | |
| # it kinda useless for now | |
| # https://github.com/andrewmcodes/rubocop-linter-action/issues/68 | |
| # rubocop: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Checkout repository | |
| # uses: actions/checkout@v4 | |
| # - name: Run Rubocop Linter | |
| # uses: andrewmcodes/rubocop-linter-action@v3.2.0 | |
| # env: | |
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| markdown: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Lint Markdown | |
| uses: actionshub/markdownlint@1.2.0 | |
| - name: Check links | |
| uses: gaurav-nelson/github-action-markdown-link-check@v1 |