Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
takaebato committed Mar 15, 2024
1 parent 9eafb5b commit 3b542ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
- uses: actions/checkout@v3
- name: Up docker
run: docker compose up -d ruby-rust
- name: bundle install
run: docker compose exec ruby-rust /bin/bash -c 'bundle install'
- name: Check rubocop
run: docker compose exec ruby-rust /bin/bash -c 'bundle install && bundle exec rake rubocop'
run: docker compose exec ruby-rust /bin/bash -c 'bundle exec rake rubocop'
- name: Check syntax tree
run: docker compose exec ruby-rust /bin/bash -c 'bundle install && bundle exec rake stree:check'
run: docker compose exec ruby-rust /bin/bash -c 'bundle exec rake stree:check'
- name: Check Rust
run: docker compose exec ruby-rust /bin/bash -c 'cargo clippy'
test-ruby:
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ services:
context: .
args:
- RUBY_VERSION=${RUBY_VERSION:-3.0.4}
command: "/bin/bash -c 'bundle install && /bin/bash'"
tty: true
volumes:
- ./:/app/

0 comments on commit 3b542ab

Please sign in to comment.