From 846705bfe9f22cf7126969299cc56bb824ff41e4 Mon Sep 17 00:00:00 2001 From: J08nY Date: Mon, 4 Apr 2022 13:09:46 +0200 Subject: Use string versions in Github CI python setup. --- .github/workflows/lint.yml | 8 ++++---- .github/workflows/perf.yml | 8 ++++---- .github/workflows/test.yml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to '.github') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0da3096..0c83e32 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,19 +12,19 @@ jobs: lint: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: pip-${{ runner.os }}-${{ hashFiles('setup.py') }} restore-keys: | pip-${{ runner.os }}- - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: - python-version: 3.9 + python-version: "3.9" - name: Add picoscope repository run: | curl "https://labs.picotech.com/debian/dists/picoscope/Release.gpg.key" | sudo apt-key add diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index d3cc261..6534118 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -13,16 +13,16 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [3.8, 3.9] + python-version: ["3.8", "3.9"] gmp: [0, 1] env: PYTHON: ${{ matrix.python-version }} USE_GMP: ${{ matrix.gmp }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: pip-${{ runner.os }}-${{ matrix.gmp }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }} @@ -31,7 +31,7 @@ jobs: pip-${{ runner.os }}-${{ matrix.gmp }}- pip-${{ runner.os }}- - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Add picoscope repository diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c1be31..b58efa2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,16 +13,16 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [3.8, 3.9, 3.10] + python-version: ["3.8", "3.9", "3.10"] gmp: [0, 1] env: PYTHON: ${{ matrix.python-version }} USE_GMP: ${{ matrix.gmp }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: pip-${{ runner.os }}-${{ matrix.gmp }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }} @@ -31,7 +31,7 @@ jobs: pip-${{ runner.os }}-${{ matrix.gmp }}- pip-${{ runner.os }}- - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Add picoscope repository -- cgit v1.2.3-70-g09d2