This repository was archived by the owner on Aug 10, 2025. It is now read-only.
Merge pull request #60 from hidakatsuya/dependabot/github_actions/rub… #174
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: Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "dev/**" | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: ruby/setup-ruby@1a0ff446f5856bdfec298b61a09727c860d9d480 # v1.240.0 | |
| with: | |
| ruby-version: "3.3" | |
| bundler-cache: true | |
| - name: Lint | |
| run: bundle exec rake standard | |
| integration_test: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| strategy: | |
| matrix: | |
| ruby_version: ["3.3"] | |
| redmine_branch_name: ["master", "6.0-stable"] | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: ruby/setup-ruby@1a0ff446f5856bdfec298b61a09727c860d9d480 # v1.240.0 | |
| with: | |
| ruby-version: "3.3" | |
| bundler-cache: true | |
| - name: Set up test | |
| run: bundle exec rake test:prepare_integration | |
| env: | |
| RUBY_VERSION: ${{ matrix.ruby_version }} | |
| REDMINE_BRANCH_NAME: ${{ matrix.redmine_branch_name }} | |
| - name: Run integration tests | |
| run: bundle exec rake test:integration | |
| env: | |
| RUBY_VERSION: ${{ matrix.ruby_version }} | |
| REDMINE_BRANCH_NAME: ${{ matrix.redmine_branch_name }} |