Update actions/setup-python to latest version (#28634)

This commit is contained in:
Massimiliano Culpo 2022-01-28 14:17:59 +01:00 committed by GitHub
parent 02b48f5206
commit 4bd761d1d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 26 deletions

View file

@ -158,7 +158,7 @@ jobs:
run: | run: |
brew install tree brew install tree
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Bootstrap clingo - name: Bootstrap clingo
@ -175,7 +175,7 @@ jobs:
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9'] python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9']
steps: steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Setup repo and non-root user - name: Setup repo and non-root user

View file

@ -2,19 +2,7 @@
. share/spack/setup-env.sh . share/spack/setup-env.sh
echo -e "config:\n build_jobs: 2" > etc/spack/config.yaml echo -e "config:\n build_jobs: 2" > etc/spack/config.yaml
spack config add "packages:all:target:[x86_64]" spack config add "packages:all:target:[x86_64]"
# TODO: remove this explicit setting once apple-clang detection is fixed spack compiler find
cat <<EOF > etc/spack/compilers.yaml
compilers:
- compiler:
spec: apple-clang@11.0.3
paths:
cc: /usr/bin/clang
cxx: /usr/bin/clang++
f77: /usr/local/bin/gfortran-9
fc: /usr/local/bin/gfortran-9
modules: []
operating_system: catalina
target: x86_64
EOF
spack compiler info apple-clang spack compiler info apple-clang
spack debug report spack debug report
spack solve zlib

View file

@ -25,7 +25,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: 3.9 python-version: 3.9
- name: spack install - name: spack install
@ -40,7 +40,7 @@ jobs:
timeout-minutes: 700 timeout-minutes: 700
steps: steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: 3.9 python-version: 3.9
- name: spack install - name: spack install
@ -53,7 +53,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: 3.9 python-version: 3.9
- name: spack install - name: spack install

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: 3.9 python-version: 3.9
- name: Install Python Packages - name: Install Python Packages
@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: 3.9 python-version: 3.9
- name: Install Python packages - name: Install Python packages
@ -109,7 +109,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install System packages - name: Install System packages
@ -170,7 +170,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: 3.9 python-version: 3.9
- name: Install System packages - name: Install System packages
@ -236,7 +236,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: 3.9 python-version: 3.9
- name: Install System packages - name: Install System packages
@ -285,7 +285,7 @@ jobs:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install Python packages - name: Install Python packages
@ -328,7 +328,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2 - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # @v2
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # @v2 - uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # @v2
with: with:
python-version: 3.9 python-version: 3.9
- name: Install Python packages - name: Install Python packages