Add 8 language tutorials #55
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: rundoc-ci-test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-rundoc: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: .rundoc-workspace/Gemfile | |
strategy: | |
matrix: | |
lang: ["ruby", "dotnet", "nodejs", "python", "php", "go", "java_maven", "java_gradle", "scala"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" | |
bundler-cache: true # do run 'bundle install' and cache | |
- uses: buildpacks/github-actions/[email protected] | |
# [CONFIG] add different languages set up here | |
- run: | | |
bundle exec rundoc docs/src/${{ matrix.lang }}/RUNDOC.md \ | |
--on-success-dir docs/${{ matrix.lang }} \ | |
--on-failure-dir docs/fail/${{ matrix.lang }} \ | |
--force |