From 5d0ef9e4f4c2d14b3a87e4607168ca88201b5fec Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 27 Mar 2024 09:26:12 +0100 Subject: [PATCH] ci: remove outdated version comments (#43389) --- .github/workflows/audit.yaml | 6 +++--- .github/workflows/bootstrap.yml | 2 +- .github/workflows/build-containers.yml | 2 +- .github/workflows/ci.yaml | 2 +- .github/workflows/unit_tests.yaml | 20 ++++++++++---------- .github/workflows/valid-style.yml | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index c4ea3571f8..e87ad3931b 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -22,8 +22,8 @@ jobs: matrix: operating_system: ["ubuntu-latest", "macos-latest"] steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 - - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: ${{inputs.python_version}} - name: Install Python packages @@ -43,7 +43,7 @@ jobs: . share/spack/setup-env.sh $(which spack) audit packages $(which spack) audit externals - - uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # @v2.1.0 + - uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab if: ${{ inputs.with_coverage == 'true' }} with: flags: unittests,audits diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 4e52079ed9..402a778e2a 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -159,7 +159,7 @@ jobs: brew install cmake bison@2.7 tree - name: Checkout uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2 + - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: "3.12" - name: Bootstrap clingo diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.yml index 2350f82424..3de3755185 100644 --- a/.github/workflows/build-containers.yml +++ b/.github/workflows/build-containers.yml @@ -55,7 +55,7 @@ jobs: if: github.repository == 'spack/spack' steps: - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 id: docker_meta diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e7da0e9e46..5b734616f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,7 +35,7 @@ jobs: core: ${{ steps.filter.outputs.core }} packages: ${{ steps.filter.outputs.packages }} steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 if: ${{ github.event_name == 'push' }} with: fetch-depth: 0 diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 5724a59b9a..935c9b98bf 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -51,10 +51,10 @@ jobs: on_develop: false steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 with: fetch-depth: 0 - - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2 + - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: ${{ matrix.python-version }} - name: Install System packages @@ -100,10 +100,10 @@ jobs: shell: runs-on: ubuntu-latest steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 with: fetch-depth: 0 - - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2 + - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: '3.11' - name: Install System packages @@ -141,7 +141,7 @@ jobs: dnf install -y \ bzip2 curl file gcc-c++ gcc gcc-gfortran git gnupg2 gzip \ make patch tcl unzip which xz - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - name: Setup repo and non-root user run: | git --version @@ -160,10 +160,10 @@ jobs: clingo-cffi: runs-on: ubuntu-latest steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 with: fetch-depth: 0 - - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2 + - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: '3.11' - name: Install System packages @@ -185,7 +185,7 @@ jobs: SPACK_TEST_SOLVER: clingo run: | share/spack/qa/run-unit-tests - - uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # @v2.1.0 + - uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab with: flags: unittests,linux,clingo token: ${{ secrets.CODECOV_TOKEN }} @@ -198,10 +198,10 @@ jobs: os: [macos-latest, macos-14] python-version: ["3.11"] steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 with: fetch-depth: 0 - - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2 + - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: ${{ matrix.python-version }} - name: Install Python packages diff --git a/.github/workflows/valid-style.yml b/.github/workflows/valid-style.yml index 757183e13c..c57dfd1367 100644 --- a/.github/workflows/valid-style.yml +++ b/.github/workflows/valid-style.yml @@ -69,7 +69,7 @@ jobs: dnf install -y \ bzip2 curl file gcc-c++ gcc gcc-gfortran git gnupg2 gzip \ make patch tcl unzip which xz - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # @v2 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - name: Setup repo and non-root user run: | git --version