Skip to content

Commit

Permalink
Don't overrwrite R action
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAxthelm committed Aug 21, 2024
1 parent 728b48a commit 09e1796
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/R.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@ on:
- cron: '0 0 * * 1,2,3,4,5'
workflow_dispatch:

name: Check JSON Schema
name: R

jobs:
json-schema:
name: JSON Schema Check
uses: RMI-PACTA/actions/actions/json-schema/render-docs/action.yml@json-schema
with:
input-files: 'inst/extdata/schema'
outputs: 'inst/extdata/schema'
output-format: html
R-package:
name: R Package Checks
uses: RMI-PACTA/actions/.github/workflows/R.yml@main
secrets: inherit
26 changes: 26 additions & 0 deletions .github/workflows/json-schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
# This example file will enable R language checks on push or PR to the main
# branch.
# It will also run the checks every weeknight at midnight UTC
#
# Note the @main in `uses:` on the last line. This will call the latest version
# of the workflow from the `main` brnach in the RMI-PACTA/actions repo. You can
# also specify a tag from that repo, or a commit SHA to pin action versions.
on:
pull_request:
push:
branches: [main]
schedule:
- cron: '0 0 * * 1,2,3,4,5'
workflow_dispatch:

name: Check JSON Schema

jobs:
json-schema:
name: JSON Schema Check
uses: RMI-PACTA/actions/actions/json-schema/render-docs/action.yml@json-schema
with:
input-files: 'inst/extdata/schema'
outputs: 'inst/extdata/schema'
output-format: html

0 comments on commit 09e1796

Please sign in to comment.