Skip to content

move GA workflow files to top-level #161

move GA workflow files to top-level

move GA workflow files to top-level #161

Workflow file for this run

name: Continuous Integration
on:
push:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix: { ruby-version: ["3.2.2"], dir: ["./hacker-rank"] }
env:
CONSTRAINT_ENFORCEMENT_ENABLED: "enabled"
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: "Gemfile.lock"
bundler-cache: true
- name: Lock bundle
run: bundle lock --add-platform x86_64-linux
- name: Run tests
run: bundle exec rake