Skip to content

Add a test suite and linting capabilities #16

Add a test suite and linting capabilities

Add a test suite and linting capabilities #16

Workflow file for this run

name: Build
on:
workflow_call:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
uses: ./.github/workflows/ci.yaml
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.2"]
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
# https://github.com/ruby/setup-ruby
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Build gem
run: rake test
# https://github.com/actions/upload-artifact
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
path: "./bin"