From 01e5e832f66e86ee52e7a6eb704d1de5872f5ee9 Mon Sep 17 00:00:00 2001 From: SarahAlidoost Date: Tue, 9 Feb 2021 14:12:59 +0100 Subject: [PATCH 1/5] use ACTIONS_ALLOW_UNSECURE_COMMANDS for ruby --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07c7d702..f9b43034 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,8 @@ jobs: - uses: actions/checkout@v2 - name: Setup Ruby uses: ruby/setup-ruby@v1.38.0 + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true with: ruby-version: 2.7 - name: Cache Ruby deps From 3d02c70a9e506768f99c5963be173b83f6b3a6dc Mon Sep 17 00:00:00 2001 From: SarahAlidoost Date: Tue, 9 Feb 2021 14:24:05 +0100 Subject: [PATCH 2/5] replace goanpeca with conda-incubator ad upgrade to v2 --- .github/workflows/recipes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/recipes.yml b/.github/workflows/recipes.yml index 92c2c6d4..d2fc1997 100644 --- a/.github/workflows/recipes.yml +++ b/.github/workflows/recipes.yml @@ -17,7 +17,7 @@ jobs: with: path: ~/conda_pkgs_dir key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('files/recipe_example.yml') }} - - uses: goanpeca/setup-miniconda@v1 + - uses: conda-incubator/setup-miniconda@v2 - name: Install esmvaltool run: conda install -n test -y -c esmvalgroup -c conda-forge esmvaltool-python - name: Setup config From d99514545d86275b98eb564b8f8857e5e3839627 Mon Sep 17 00:00:00 2001 From: SarahAlidoost Date: Tue, 9 Feb 2021 15:56:02 +0100 Subject: [PATCH 3/5] add python and miniconda-version to speed up esmvaltool installation --- .github/workflows/recipes.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/recipes.yml b/.github/workflows/recipes.yml index d2fc1997..8cf81092 100644 --- a/.github/workflows/recipes.yml +++ b/.github/workflows/recipes.yml @@ -18,6 +18,9 @@ jobs: path: ~/conda_pkgs_dir key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('files/recipe_example.yml') }} - uses: conda-incubator/setup-miniconda@v2 + with: + python-version: "3.8" + miniconda-version: "latest" - name: Install esmvaltool run: conda install -n test -y -c esmvalgroup -c conda-forge esmvaltool-python - name: Setup config From f471f66d01f0d83b776d2f4daee16bcd07a7e6bf Mon Sep 17 00:00:00 2001 From: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com> Date: Wed, 10 Feb 2021 14:18:20 +0100 Subject: [PATCH 4/5] Update .github/workflows/ci.yml Co-authored-by: Stef Smeets --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9b43034..da9e00c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup Ruby - uses: ruby/setup-ruby@v1.38.0 + uses: ruby/setup-ruby@v1.64.1 env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true with: From 84ca8aff9d1b4c16161f69646353bbac8787a559 Mon Sep 17 00:00:00 2001 From: SarahAlidoost Date: Wed, 10 Feb 2021 14:20:41 +0100 Subject: [PATCH 5/5] remove ACTIONS_ALLOW_UNSECURE_COMMANDS to see if it works with upgraded ruby/setup-ruby --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da9e00c2..e870c419 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,6 @@ jobs: - uses: actions/checkout@v2 - name: Setup Ruby uses: ruby/setup-ruby@v1.64.1 - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: true with: ruby-version: 2.7 - name: Cache Ruby deps