Skip to content

Commit

Permalink
revert to use lookup-refs on every job
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Nov 19, 2024
1 parent f1131d8 commit 9f7836e
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 28 deletions.
51 changes: 36 additions & 15 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
---
name: Check 🛠

env:
LOOKUP_REFS: |
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.code
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/rtables
insightsengineering/rtables.officer
on:
pull_request:
types:
Expand Down Expand Up @@ -54,7 +43,15 @@ jobs:
unit-test-report-brand: >-
https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/teal.png
deps-installation-method: setup-r-dependencies
lookup-refs: ${{ env.LOOKUP_REFS }}
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.code
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/rtables
insightsengineering/rtables.officer
r-cmd-non-cran:
name: R CMD Check (non-CRAN) 🧬
Expand All @@ -78,7 +75,15 @@ jobs:
checking for unstated dependencies in vignettes .* NOTE
checking top-level files .* NOTE
deps-installation-method: setup-r-dependencies
lookup-refs: ${{ env.LOOKUP_REFS }}
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.code
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/rtables
insightsengineering/rtables.officer
coverage:
name: Coverage 📔
Expand All @@ -89,7 +94,15 @@ jobs:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: ${{ env.LOOKUP_REFS }}
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.code
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/rtables
insightsengineering/rtables.officer
linter:
if: github.event_name != 'push'
name: SuperLinter 🦸‍♀️
Expand All @@ -102,7 +115,15 @@ jobs:
with:
auto-update: true
deps-installation-method: setup-r-dependencies
lookup-refs: ${{ env.LOOKUP_REFS }}
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.code
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/rtables
insightsengineering/rtables.officer
gitleaks:
name: gitleaks 💧
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main
Expand Down
31 changes: 18 additions & 13 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
---
name: Scheduled 🕰️

env:
LOOKUP_REFS: |
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.code
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/rtables
insightsengineering/rtables.officer
on:
schedule:
- cron: '45 3 * * 0'
Expand Down Expand Up @@ -68,7 +57,15 @@ jobs:
name: revdepcheck ↩️
uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main
with:
lookup-refs: ${{ env.LOOKUP_REFS }}
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.code
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/rtables
insightsengineering/rtables.officer
rhub:
if: >
github.event_name == 'schedule' || (
Expand All @@ -78,4 +75,12 @@ jobs:
name: R-hub 🌐
uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main
with:
lookup-refs: ${{ env.LOOKUP_REFS }}
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.code
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/rtables
insightsengineering/rtables.officer

0 comments on commit 9f7836e

Please sign in to comment.