Skip to content

Commit

Permalink
use the same touchston config as styler
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Feb 1, 2023
1 parent 6943232 commit ca17494
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/touchstone-receive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,27 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

on:
on:
pull_request:
paths:
# Directories with source code and benchmarking code
- "inst/**"
- "R/**"
- "src/**"
- "touchstone/**"
# Benchmarking config file
- ".github/workflows/touchstone-*.yaml"
# Package metadata
- DESCRIPTION

jobs:
prepare:
runs-on: ubuntu-latest
if:
true
runs-on: ubuntu-latest
outputs:
config: ${{ steps.read_touchstone_config.outputs.config }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v2
with:
fetch-depth: 0

Expand All @@ -42,10 +50,9 @@ jobs:
RSPM: ${{ matrix.config.rspm }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: lorenzwalthert/touchstone/actions/receive@v1
- uses: lorenzwalthert/touchstone/actions/receive@main
with:
cache-version: 1
benchmarking_repo: ${{ matrix.config.benchmarking_repo }}
benchmarking_ref: ${{ matrix.config.benchmarking_ref }}
benchmarking_path: ${{ matrix.config.benchmarking_path }}
force_upstream: true
benchmarking_path: ${{ matrix.config.benchmarking_path }}

0 comments on commit ca17494

Please sign in to comment.