Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinvoicu committed Mar 13, 2024
1 parent b415f5b commit 27273ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 91 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ on:
branches:
- main
workflow_call:
inputs:
dep_path:
description: Path of the dependency file.
required: false
type: string
default: "dependencies.yml"
# lintr_error_on_lint:
# description: Raise lintr error when lints found.
# required: false
# default: true
# type: boolean

concurrency:
group: check-test-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -41,24 +30,6 @@ jobs:
- name: Checkout project ⬇️
uses: actions/checkout@v4

- name: Normalize variables 📐
run: |
dep_path="${{ inputs.dep_path }}"
echo "dep_path=${dep_path:-'dependencies.yml'}" >> $GITHUB_ENV
shell: bash

# - name: Install package dependencies 📄
# run: |
# if (file.exists(${{ env.dep_path }})) {
# repos <- yaml::yaml.load(readLines(${{ env.dep_path }}))$dependencies |>
# sapply(function(x) x$repo)
# if(repos |> length() > 0) {
# repos |>
# pak::pak(dependencies = TRUE, ask = FALSE, upgrade = FALSE)
# }
# }
# shell: Rscript {0}

- name: Install package dependencies 📄
uses: ./.github/actions/dependencies

Expand All @@ -76,8 +47,3 @@ jobs:
devtools::test()
shell: Rscript {0}

# - name: Lintr 🔍
# run: lintr::lint_package()
# shell: Rscript {0}
# env:
# LINTR_ERROR_ON_LINT: ${{ inputs.lintr_error_on_lint }}
57 changes: 0 additions & 57 deletions .github/workflows/deps.yml

This file was deleted.

0 comments on commit 27273ed

Please sign in to comment.