diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-05-04 08:04:33 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-05-04 08:04:33 +0000 |
commit | 1ba9e5af04e5a95d67e7f22886fe080e5bdeb7ce (patch) | |
tree | 4c5f53727e9f37e88ee2e8fbf1dae89edfd03dc1 | |
parent | 17aeeb705937730b03e2c612d59c942ce3dc2656 (diff) | |
download | redmine-1ba9e5af04e5a95d67e7f22886fe080e5bdeb7ce.tar.gz redmine-1ba9e5af04e5a95d67e7f22886fe080e5bdeb7ce.zip |
Add workflow to run Rubocop action.
git-svn-id: https://svn.redmine.org/redmine/trunk@22813 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | .github/workflows/rubyonrails.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml new file mode 100644 index 000000000..07882bdc8 --- /dev/null +++ b/.github/workflows/rubyonrails.yml @@ -0,0 +1,17 @@ +name: "Ruby on Rails CI" +on: + push: + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Install Ruby and gems + uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 + with: + ruby-version: 3.2 + bundler-cache: true + - name: Lint Ruby files + run: bundle exec rubocop --parallel |