mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 16:21:00 -05:00
fix: Move commands to correct place (#4579)
* Allow dispatch workflow
* Disable LUA
* Move R installation and cleanup
* Revert "Disable LUA"
This reverts commit d347897d77
.
* Move cleaning step
This commit is contained in:
parent
af9a6d1c15
commit
c4c1ebb101
5 changed files with 10 additions and 2 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -3,6 +3,7 @@ name: Build and Test
|
|||
on:
|
||||
pull_request:
|
||||
merge_group:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -65,6 +65,9 @@ typings/
|
|||
# clj-kondo cache
|
||||
.cache
|
||||
|
||||
# IDEs
|
||||
.idea
|
||||
|
||||
# default output report
|
||||
super-linter.report
|
||||
|
||||
|
|
|
@ -244,6 +244,11 @@ RUN --mount=type=secret,id=GITHUB_TOKEN /install-google-java-format.sh && rm -rf
|
|||
COPY scripts/install-lua.sh /
|
||||
RUN --mount=type=secret,id=GITHUB_TOKEN /install-lua.sh && rm -rf /install-lua.sh
|
||||
|
||||
#########################
|
||||
# Clean to shrink image #
|
||||
#########################
|
||||
RUN find /usr/ -type f -name '*.md' -exec rm {} +
|
||||
|
||||
################################################################################
|
||||
# Grab small clean image to build python packages ##############################
|
||||
################################################################################
|
||||
|
|
|
@ -6,3 +6,4 @@ mkdir -p /home/r-library
|
|||
cp -r /usr/lib/R/library/ /home/r-library/
|
||||
Rscript -e "install.packages(c('lintr','purrr'), repos = 'https://cloud.r-project.org/')"
|
||||
R -e "install.packages(list.dirs('/home/r-library',recursive = FALSE), repos = NULL, type = 'source')"
|
||||
mv /etc/R/* /usr/lib/R/etc/
|
||||
|
|
|
@ -26,5 +26,3 @@ rm -r cvega-luarocks-6b1aee6
|
|||
luarocks install luacheck
|
||||
luarocks install argparse
|
||||
luarocks install luafilesystem
|
||||
mv /etc/R/* /usr/lib/R/etc/
|
||||
find /usr/ -type f -name '*.md' -exec rm {} +
|
||||
|
|
Loading…
Reference in a new issue