Skip to content

ci:implement ci similar to decidim/decidim #18

ci:implement ci similar to decidim/decidim

ci:implement ci similar to decidim/decidim #18

Workflow file for this run

name: "[CI] ExtraUserFields"
on: "push"
env:
CI: "true"
RUBY_VERSION: 3.1.1
NODE_VERSION: 18.17.1
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build_app:
uses: ./.github/workflows/build_app.yml
secrets: inherit
name: Build test application
lint:
name: Lint code
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@master
with:
node-version: ${{ env.NODE_VERSION }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- run: bundle exec rubocop -P
name: Lint Ruby files
- run: bundle exec erblint app/**/*.erb
name: Lint ERB files
tests:
name: Tests
needs: build_app.

Check failure on line 41 in .github/workflows/ci_tests.yml

View workflow run for this annotation

GitHub Actions / [CI] ExtraUserFields

Invalid workflow file

The workflow is not valid. .github/workflows/ci_tests.yml (Line: 41, Col: 12): Job 'tests' depends on unknown job 'build_app.'.
uses: ./.github/workflows/test_app.yml
with:
test_command: "bundle exec rspec --pattern './spec/**/*_spec.rb'"
secrets: inherit