From 5a4401e3358179dec4aace3c8b2211c05f780327 Mon Sep 17 00:00:00 2001 From: "Nico T. Toikka" <62968984+toicca@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:00:28 +0200 Subject: [PATCH] ci: Update actions plugin versions (#104) --- .github/workflows/BTA_workflow.yml | 7 +++---- .github/workflows/QCD_workflow.yml | 7 +++---- .github/workflows/ctag_DY_workflow.yml | 7 +++---- .github/workflows/ctag_Wc_workflow.yml | 10 ++++------ .github/workflows/ctag_ttbar_workflow.yml | 7 +++---- .github/workflows/python_linting.yml | 4 ++-- .github/workflows/ttbar_workflow.yml | 7 +++---- .github/workflows/validation.yml | 7 +++---- 8 files changed, 24 insertions(+), 32 deletions(-) diff --git a/.github/workflows/BTA_workflow.yml b/.github/workflows/BTA_workflow.yml index b8a373e7..9c2664e4 100644 --- a/.github/workflows/BTA_workflow.yml +++ b/.github/workflows/BTA_workflow.yml @@ -35,7 +35,7 @@ jobs: shell: "bash -l {0}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Merge PR locally if: github.event_name == 'pull_request_target' @@ -56,10 +56,9 @@ jobs: cvmfs_repositories: 'grid.cern.ch' - name: Set conda environment - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge channels: conda-forge,defaults channel-priority: true activate-environment: btv_coffea @@ -97,7 +96,7 @@ jobs: chmod 400 $HOME/.globus/userkey.pem openssl rand -out $HOME/.rnd -hex 256 printf "${{secrets.GRID_PASSWORD}}" | voms-proxy-init --voms cms --debug --pwstdin -certdir $X509_CERT_DIR -vomses $X509_VOMSES - chmod 755 /usr/share/miniconda3/envs/btv_coffea/etc/grid-security/certificates + chmod 755 /usr/share/miniconda/envs/btv_coffea/etc/grid-security/certificates - name: Install Repo diff --git a/.github/workflows/QCD_workflow.yml b/.github/workflows/QCD_workflow.yml index 0808a2c4..63e70f09 100644 --- a/.github/workflows/QCD_workflow.yml +++ b/.github/workflows/QCD_workflow.yml @@ -37,7 +37,7 @@ jobs: shell: "bash -l {0}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Merge PR locally if: github.event_name == 'pull_request_target' @@ -57,10 +57,9 @@ jobs: cvmfs_repositories: 'grid.cern.ch' - name: Set conda environment - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge channels: conda-forge,defaults channel-priority: true activate-environment: btv_coffea @@ -98,7 +97,7 @@ jobs: chmod 400 $HOME/.globus/userkey.pem openssl rand -out $HOME/.rnd -hex 256 printf "${{secrets.GRID_PASSWORD}}" | voms-proxy-init --voms cms --debug --pwstdin -certdir $X509_CERT_DIR -vomses $X509_VOMSES - chmod 755 /usr/share/miniconda3/envs/btv_coffea/etc/grid-security/certificates + chmod 755 /usr/share/miniconda/envs/btv_coffea/etc/grid-security/certificates - name: Install Repo run: | diff --git a/.github/workflows/ctag_DY_workflow.yml b/.github/workflows/ctag_DY_workflow.yml index e06ac682..92fc0f7e 100644 --- a/.github/workflows/ctag_DY_workflow.yml +++ b/.github/workflows/ctag_DY_workflow.yml @@ -35,7 +35,7 @@ jobs: shell: "bash -l {0}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Merge PR locally if: github.event_name == 'pull_request_target' @@ -54,10 +54,9 @@ jobs: with: cvmfs_repositories: 'grid.cern.ch' - name: Set conda environment - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge channels: conda-forge,defaults channel-priority: true activate-environment: btv_coffea @@ -95,7 +94,7 @@ jobs: chmod 400 $HOME/.globus/userkey.pem openssl rand -out $HOME/.rnd -hex 256 printf "${{secrets.GRID_PASSWORD}}" | voms-proxy-init --voms cms --debug --pwstdin -certdir $X509_CERT_DIR -vomses $X509_VOMSES - chmod 755 /usr/share/miniconda3/envs/btv_coffea/etc/grid-security/certificates + chmod 755 /usr/share/miniconda/envs/btv_coffea/etc/grid-security/certificates - name: Install Repo diff --git a/.github/workflows/ctag_Wc_workflow.yml b/.github/workflows/ctag_Wc_workflow.yml index e0e841f2..99420c8a 100644 --- a/.github/workflows/ctag_Wc_workflow.yml +++ b/.github/workflows/ctag_Wc_workflow.yml @@ -37,7 +37,7 @@ jobs: shell: "bash -l {0}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Merge PR locally if: github.event_name == 'pull_request_target' @@ -57,10 +57,9 @@ jobs: cvmfs_repositories: 'grid.cern.ch' - name: Set conda environment - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge channels: conda-forge,defaults channel-priority: true activate-environment: btv_coffea @@ -98,7 +97,7 @@ jobs: chmod 400 $HOME/.globus/userkey.pem openssl rand -out $HOME/.rnd -hex 256 printf "${{secrets.GRID_PASSWORD}}" | voms-proxy-init --voms cms --debug --pwstdin -certdir $X509_CERT_DIR -vomses $X509_VOMSES - chmod 755 /usr/share/miniconda3/envs/btv_coffea/etc/grid-security/certificates + chmod 755 /usr/share/miniconda/envs/btv_coffea/etc/grid-security/certificates - name: Install Repo run: | @@ -135,7 +134,6 @@ jobs: fi python runner.py --workflow ectag_Wc_sf --json metadata/test_bta_run3.json --executor iterative --overwrite $opts - - name: ctag muon W+c fixed WP workflows with correctionlib run: | string=$(git log -1 --pretty=format:'%s') @@ -164,4 +162,4 @@ jobs: elif [[ $string == *"ci:weight_only"* ]]; then opts=$(echo "$opts" | sed 's/--isSyst all/--isSyst weight_only/g') fi - python runner.py --workflow ectag_Wc_WP_sf --json metadata/test_bta_run3.json --executor iterative --overwrite $opts \ No newline at end of file + python runner.py --workflow ectag_Wc_WP_sf --json metadata/test_bta_run3.json --executor iterative --overwrite $opts diff --git a/.github/workflows/ctag_ttbar_workflow.yml b/.github/workflows/ctag_ttbar_workflow.yml index fbde8d72..587f3ff4 100644 --- a/.github/workflows/ctag_ttbar_workflow.yml +++ b/.github/workflows/ctag_ttbar_workflow.yml @@ -35,7 +35,7 @@ jobs: shell: "bash -l {0}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Merge PR locally if: github.event_name == 'pull_request_target' @@ -55,10 +55,9 @@ jobs: cvmfs_repositories: 'grid.cern.ch' - name: Set conda environment - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge channels: conda-forge,defaults channel-priority: true activate-environment: btv_coffea @@ -96,7 +95,7 @@ jobs: chmod 400 $HOME/.globus/userkey.pem openssl rand -out $HOME/.rnd -hex 256 printf "${{secrets.GRID_PASSWORD}}" | voms-proxy-init --voms cms --debug --pwstdin -certdir $X509_CERT_DIR -vomses $X509_VOMSES - chmod 755 /usr/share/miniconda3/envs/btv_coffea/etc/grid-security/certificates + chmod 755 /usr/share/miniconda/envs/btv_coffea/etc/grid-security/certificates - name: Install Repo diff --git a/.github/workflows/python_linting.yml b/.github/workflows/python_linting.yml index fa91fd56..5e3e57e7 100644 --- a/.github/workflows/python_linting.yml +++ b/.github/workflows/python_linting.yml @@ -16,10 +16,10 @@ jobs: python-version: ["3.10"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/ttbar_workflow.yml b/.github/workflows/ttbar_workflow.yml index d92e3451..0093915f 100644 --- a/.github/workflows/ttbar_workflow.yml +++ b/.github/workflows/ttbar_workflow.yml @@ -35,7 +35,7 @@ jobs: shell: "bash -l {0}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Merge PR locally if: github.event_name == 'pull_request_target' @@ -55,10 +55,9 @@ jobs: cvmfs_repositories: 'grid.cern.ch' - name: Set conda environment - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge channels: conda-forge,defaults channel-priority: true activate-environment: btv_coffea @@ -96,7 +95,7 @@ jobs: chmod 400 $HOME/.globus/userkey.pem openssl rand -out $HOME/.rnd -hex 256 printf "${{secrets.GRID_PASSWORD}}" | voms-proxy-init --voms cms --debug --pwstdin -certdir $X509_CERT_DIR -vomses $X509_VOMSES - chmod 755 /usr/share/miniconda3/envs/btv_coffea/etc/grid-security/certificates + chmod 755 /usr/share/miniconda/envs/btv_coffea/etc/grid-security/certificates - name: Install Repo run: | diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index f9d2b35b..348b4dec 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -35,7 +35,7 @@ jobs: shell: "bash -l {0}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Merge PR locally if: github.event_name == 'pull_request_target' @@ -55,10 +55,9 @@ jobs: cvmfs_repositories: 'grid.cern.ch' - name: Set conda environment - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge channels: conda-forge,defaults channel-priority: true activate-environment: btv_coffea @@ -96,7 +95,7 @@ jobs: chmod 400 $HOME/.globus/userkey.pem openssl rand -out $HOME/.rnd -hex 256 printf "${{secrets.GRID_PASSWORD}}" | voms-proxy-init --voms cms --debug --pwstdin -certdir $X509_CERT_DIR -vomses $X509_VOMSES - chmod 755 /usr/share/miniconda3/envs/btv_coffea/etc/grid-security/certificates + chmod 755 /usr/share/miniconda/envs/btv_coffea/etc/grid-security/certificates - name: Install Repo run: |