Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tasks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
biowdl
tasks
Commits
41fda1a9
Commit
41fda1a9
authored
3 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
Use cache
parent
fd1a6426
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/lint.yml
+35
-4
35 additions, 4 deletions
.github/workflows/lint.yml
with
35 additions
and
4 deletions
.github/workflows/lint.yml
+
35
−
4
View file @
41fda1a9
...
...
@@ -19,15 +19,46 @@ jobs:
-
uses
:
actions/checkout@v2.3.4
with
:
submodules
:
recursive
-
name
:
Set cache date
run
:
echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
-
name
:
Cache conda packages
uses
:
actions/cache@v2.1.7
env
:
# Increase this value to manually invalidate the cache
CACHE_NUMBER
:
0
with
:
path
:
~/conda_pkgs_dir
key
:
${{runner.os}}-conda-${{ env.CACHE_NUMBER }}-${env.date}-${{ hashFiles('.github/lint-environment.yml') }}
-
name
:
Cache conda environment
uses
:
actions/cache@v2.1.7
env
:
# Increase this value to manually invalidate the cache
CACHE_NUMBER
:
0
with
:
path
:
/usr/share/miniconda/envs/biowdl-lint
key
:
${{runner.os}}-biowdl-lint-${{ env.CACHE_NUMBER }}-${{ hashFiles('.github/lint-environment.yml') }}
id
:
env_cache
-
name
:
install miniconda
uses
:
conda-incubator/setup-miniconda@v2.
0
.1
uses
:
conda-incubator/setup-miniconda@v2.
1
.1
with
:
miniforge-variant
:
Mambaforge
miniforge-version
:
latest
use-mamba
:
true
channels
:
conda-forge,bioconda,defaults
channel-priority
:
strict
installer-url
:
https://github.com/conda-forge/miniforge/releases/download/4.11.0-0/Mambaforge-4.11.0-0-Linux-x86_64.sh
# Conda-incubator uses 'test' environment by default.
-
name
:
install requirements
auto-activate-base
:
false
activate-environment
:
biowdl-lint
-
name
:
Update test environment
run
:
mamba install -n test cromwell miniwdl wdl-aid
if
:
steps.env_cache.outputs.cache-hit != 'true'
-
name
:
run womtool validate
run
:
|
bash -c '
...
...
This diff is collapsed.
Click to expand it.
Ruben Vorderman
@rhpvorderman
mentioned in commit
d6bfc449
·
2 years ago
mentioned in commit
d6bfc449
mentioned in commit d6bfc449dfc6979511e746a52f6fddf0e30e7853
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment