ビル来客システムのバージョンアップに対応し、QRコードバージョンが利用できるようにした #504
Workflow file for this run
This file contains 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 ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
env: | |
SLACK_TOKEN: "DUMMY" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.2' | |
bundler-cache: true | |
- name: Install dependencies | |
run: bundle install | |
- name: Build and test | |
run: bundle exec rspec | |
rubocop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.2' | |
bundler-cache: true | |
- name: Run rubocop | |
run: bundle exec rubocop |