Skip to content

Merge branch 'master' into 18102_Model-generation-of-array-with-uniqu… #2

Merge branch 'master' into 18102_Model-generation-of-array-with-uniqu…

Merge branch 'master' into 18102_Model-generation-of-array-with-uniqu… #2

Workflow file for this run

name: Samples R
on:
push:
paths:
- 'samples/client/echo_api/r/**'
pull_request:
paths:
- 'samples/client/echo_api/r/**'
jobs:
build:
name: Build R
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sample:
- 'samples/client/echo_api/r/'
steps:
- uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v4
- name: Run echo server
run: |
git clone https://github.com/wing328/http-echo-server -b openapi-generator-test-server
(cd http-echo-server && npm install && npm start &)
- uses: r-lib/actions/setup-r@v2
with:
r-version: 3.6.1
- uses: r-lib/actions/setup-r-dependencies@v2
working-directory: ${{ matrix.sample }}

Check failure on line 32 in .github/workflows/samples-r.yaml

View workflow run for this annotation

GitHub Actions / Samples R

Invalid workflow file

The workflow is not valid. .github/workflows/samples-r.yaml (Line: 32, Col: 9): Unexpected value 'working-directory'
with:
cache-version: 2
- name: Install curl
run: sudo apt-get install -y r-cran-curl
- name: build and test
working-directory: ${{ matrix.sample }}
run: |
# export _R_CHECK_FORCE_SUGGESTS_=false
/bin/bash build_and_test.bash
shell: bash