Skip to content

Commit

Permalink
CI: Move internal_investigation to linting.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Dec 27, 2024
1 parent 6ae66df commit 8d42b19
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Linting
on:
- pull_request
push:
branches:
- master
pull_request:
workflow_dispatch:

permissions: # added using https://github.com/step-security/secure-workflows
contents: read
Expand All @@ -10,11 +14,23 @@ concurrency:
cancel-in-progress: true

jobs:
yamllint:
lint-ruby:
name: Ruby
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby # Latest stable CRuby version
bundler-cache: true
- name: internal_investigation
run: bundle exec rake internal_investigation

lint-yaml:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: write # for karancode/yamllint-github-action to post comments on PRs
name: Yamllint
name: Yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
bundler-cache: true
- name: spec
run: bundle exec rake spec
- name: internal_investigation
run: bundle exec rake internal_investigation

jruby:
name: JRuby 9.4
Expand All @@ -49,8 +47,6 @@ jobs:
bundler-cache: true
- name: spec
run: bundle exec rake spec
- name: internal_investigation
run: bundle exec rake internal_investigation

prism:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8d42b19

Please sign in to comment.