summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_test.yml59
-rw-r--r--.github/workflows/codeql.yml8
-rw-r--r--.github/workflows/cygwin.yml2
-rw-r--r--.github/workflows/dependency-review.yml2
-rw-r--r--.github/workflows/docker.yml61
-rw-r--r--.github/workflows/emscripten.yml2
-rw-r--r--.github/workflows/gitpod.yml61
-rw-r--r--.github/workflows/linux_meson.yml6
-rw-r--r--.github/workflows/linux_musl.yml4
-rw-r--r--.github/workflows/scorecards.yml6
-rw-r--r--.github/workflows/wheels.yml6
-rw-r--r--.github/workflows/windows_meson.yml2
12 files changed, 58 insertions, 161 deletions
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml
index 26563ae3e..d43786250 100644
--- a/.github/workflows/build_test.yml
+++ b/.github/workflows/build_test.yml
@@ -1,6 +1,10 @@
name: Build_Test
on:
+ push:
+ branches:
+ # coverage comparison in the "full" step needs to run on main after merges
+ - main
pull_request:
branches:
- main
@@ -23,11 +27,11 @@ permissions:
jobs:
lint:
- if: "github.repository == 'numpy/numpy'"
+ if: github.repository == 'numpy/numpy' && github.event_name != 'push'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -47,7 +51,7 @@ jobs:
env:
WITHOUT_SIMD: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -59,13 +63,14 @@ jobs:
basic:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "pypy3.9-v7.3.11"]
env:
EXPECT_CPU_FEATURES: "SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_KNM AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL"
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -78,8 +83,9 @@ jobs:
needs: [smoke_test]
# provides GCC 7, 8
runs-on: ubuntu-20.04
+ if: github.event_name != 'push'
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -114,10 +120,11 @@ jobs:
without_optimizations:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
WITHOUT_OPTIMIZATIONS: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -129,10 +136,11 @@ jobs:
with_baseline_only:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
CPU_DISPATCH: "none"
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -144,10 +152,11 @@ jobs:
without_avx512:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
CPU_DISPATCH: "max -xop -fma4 -avx512f -avx512cd -avx512_knl -avx512_knm -avx512_skx -avx512_clx -avx512_cnl -avx512_icl"
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -159,10 +168,11 @@ jobs:
without_avx512_avx2_fma3:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
CPU_DISPATCH: "SSSE3 SSE41 POPCNT SSE42 AVX F16C"
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -174,10 +184,11 @@ jobs:
debug:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
USE_DEBUG: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -189,10 +200,11 @@ jobs:
blas64:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
NPY_USE_BLAS_ILP64: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -210,7 +222,7 @@ jobs:
RUN_COVERAGE: 1
INSTALL_PICKLE5: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -222,6 +234,7 @@ jobs:
benchmark:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
PYTHONOPTIMIZE: 2
BLAS: None
@@ -231,7 +244,7 @@ jobs:
NPY_LAPACK_ORDER: MKL,OPENBLAS,ATLAS,LAPACK
USE_ASV: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -243,12 +256,13 @@ jobs:
relaxed_strides_debug:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
CHECK_BLAS: 1
NPY_USE_BLAS_ILP64: 1
NPY_RELAXED_STRIDES_DEBUG: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -260,10 +274,11 @@ jobs:
use_wheel:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
USE_WHEEL: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -275,6 +290,7 @@ jobs:
numpy2_flag:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
# Test for numpy-2.0 feature-flagged behavior.
NPY_NUMPY_2_BEHAVIOR: 1
@@ -282,7 +298,7 @@ jobs:
# currently unfortunately
NPY_PROMOTION_STATE: legacy
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -294,13 +310,14 @@ jobs:
no_openblas:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
BLAS: None
LAPACK: None
ATLAS: None
DOWNLOAD_OPENBLAS: ''
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -312,10 +329,11 @@ jobs:
sdist:
needs: [smoke_test]
runs-on: ubuntu-latest
+ if: github.event_name != 'push'
env:
USE_SDIST: 1
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -328,8 +346,9 @@ jobs:
needs: [smoke_test]
# make sure this matches the base docker image below
runs-on: ubuntu-22.04
+ if: github.event_name != 'push'
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -384,7 +403,7 @@ jobs:
needs: [smoke_test]
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 925d6a1f5..7860716d6 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -41,11 +41,11 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.2.7
+ uses: github/codeql-action/init@04df1262e6247151b5ac09cd2c303ac36ad3f62b # v2.2.9
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- uses: github/codeql-action/autobuild@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.2.7
+ uses: github/codeql-action/autobuild@04df1262e6247151b5ac09cd2c303ac36ad3f62b # v2.2.9
# â„šī¸ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -68,6 +68,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.2.7
+ uses: github/codeql-action/analyze@04df1262e6247151b5ac09cd2c303ac36ad3f62b # v2.2.9
with:
category: "/language:${{matrix.language}}"
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index a600447e7..397d457f9 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -20,7 +20,7 @@ jobs:
runs-on: windows-latest
if: "github.repository == 'numpy/numpy'"
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml
index 152196a86..c1aa5c0cb 100644
--- a/.github/workflows/dependency-review.yml
+++ b/.github/workflows/dependency-review.yml
@@ -15,6 +15,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- name: 'Dependency Review'
uses: actions/dependency-review-action@f46c48ed6d4f1227fb2d9ea62bf6bcbed315589e # v3.0.4
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
deleted file mode 100644
index c8f95d676..000000000
--- a/.github/workflows/docker.yml
+++ /dev/null
@@ -1,61 +0,0 @@
-name: Build Base Docker Image
-
-on:
- push:
- branches:
- - main
- paths:
- - "environment.yml"
-
-permissions:
- contents: read # to fetch code (actions/checkout)
-
-jobs:
- build_docker:
- name: Build base Docker image
- runs-on: ubuntu-latest
- environment: numpy-dev
- if: "github.repository_owner == 'numpy'"
- steps:
- - name: Clone repository
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- - name: Lint Docker
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
- with:
- dockerfile: ./tools/gitpod/Dockerfile
- ignore: DL3059
- - name: Get refs
- shell: bash
- run: |
- export raw_branch=${GITHUB_REF#refs/heads/}
- echo "branch=${raw_branch//\//-}" >> $GITHUB_OUTPUT
- echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
- echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
- id: getrefs
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c # v2.5.0
- - name: Cache Docker layers
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
- with:
- path: /tmp/.buildx-cache
- key: ${{ runner.os }}-buildx-${{ github.sha }}
- restore-keys: ${{ runner.os }}-buildx-
- - name: Login to Docker Hub
- uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- id: docker_build
- uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
- with:
- context: "."
- file: "./tools/gitpod/Dockerfile"
- push: ${{ github.event_name != 'pull_request' }}
- cache-from: type=local,src=/tmp/.buildx-cache
- cache-to: type=local,dest=/tmp/.buildx-cache
- tags: |
- numpy/numpy-dev:${{ steps.getrefs.outputs.date }}-${{ steps.getrefs.outputs.branch}}-${{ steps.getrefs.outputs.sha8 }}, numpy/numpy-dev:latest
- - name: Image digest
- # Return details of the image build: sha and shell
- run: echo ${{ steps.docker_build.outputs.digest }}
diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml
index 7ad7903a3..f4d565392 100644
--- a/.github/workflows/emscripten.yml
+++ b/.github/workflows/emscripten.yml
@@ -31,7 +31,7 @@ jobs:
NODE_VERSION: 18
steps:
- name: Checkout numpy
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: true
# versioneer.py requires the latest tag to be reachable. Here we
diff --git a/.github/workflows/gitpod.yml b/.github/workflows/gitpod.yml
deleted file mode 100644
index 737c3c07b..000000000
--- a/.github/workflows/gitpod.yml
+++ /dev/null
@@ -1,61 +0,0 @@
-name: Build Gitpod Docker image
-
-on:
- push:
- branches:
- - main
-
-permissions:
- contents: read # to fetch code (actions/checkout)
-
-jobs:
- build_gitpod:
- name: Build Gitpod Docker image
- runs-on: ubuntu-latest
- environment: numpy-dev
- if: "github.repository_owner == 'numpy'"
- steps:
- - name: Clone repository
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- with:
- fetch-depth: 0
- - name: Lint Docker
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
- with:
- dockerfile: ./tools/gitpod/gitpod.Dockerfile
- ignore: DL3059
- - name: Get refs
- shell: bash
- run: |
- export raw_branch=${GITHUB_REF#refs/heads/}
- echo "branch=${raw_branch//\//-}" >> $GITHUB_OUTPUT
- echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
- echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
- id: getrefs
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c # v2.5.0
- - name: Cache Docker layers
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
- with:
- path: /tmp/.buildx-cache
- key: ${{ runner.os }}-buildx-${{ github.sha }}
- restore-keys: ${{ runner.os }}-buildx-
- - name: Login to Docker Hub
- uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- id: docker_build
- uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
- with:
- context: "."
- file: "./tools/gitpod/gitpod.Dockerfile"
- push: ${{ github.event_name != 'pull_request' }}
- cache-from: type=local,src=/tmp/.buildx-cache
- cache-to: type=local,dest=/tmp/.buildx-cache
- tags: |
- numpy/numpy-gitpod:${{ steps.getrefs.outputs.date }}-${{ steps.getrefs.outputs.branch}}-${{ steps.getrefs.outputs.sha8 }}, numpy/numpy-gitpod:latest
- - name: Image digest
- # Return details of the image build: sha and shell
- run: echo ${{ steps.docker_build.outputs.digest }}
diff --git a/.github/workflows/linux_meson.yml b/.github/workflows/linux_meson.yml
index 902c06997..16e2bc90c 100644
--- a/.github/workflows/linux_meson.yml
+++ b/.github/workflows/linux_meson.yml
@@ -25,7 +25,7 @@ jobs:
if: "github.repository == 'numpy/numpy'"
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0
@@ -41,7 +41,7 @@ jobs:
env:
TERM: xterm-256color
run:
- ./spin build -- --werror
+ spin build -- --werror
- name: Check build-internal dependencies
run:
ninja -C build -t missingdeps
@@ -54,4 +54,4 @@ jobs:
TERM: xterm-256color
run: |
pip install pytest hypothesis typing_extensions
- ./spin test
+ spin test
diff --git a/.github/workflows/linux_musl.yml b/.github/workflows/linux_musl.yml
index 54c8b7c2d..7d90c20ed 100644
--- a/.github/workflows/linux_musl.yml
+++ b/.github/workflows/linux_musl.yml
@@ -62,5 +62,5 @@ jobs:
pip install pytest hypothesis typing_extensions
# use meson to build and test
- ./spin build
- ./spin test
+ spin build
+ spin test
diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml
index 6924048be..03eabc365 100644
--- a/.github/workflows/scorecards.yml
+++ b/.github/workflows/scorecards.yml
@@ -25,12 +25,12 @@ jobs:
steps:
- name: "Checkout code"
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.1.0
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.1.0
with:
persist-credentials: false
- name: "Run analysis"
- uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
+ uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af # v2.1.3
with:
results_file: results.sarif
results_format: sarif
@@ -50,6 +50,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
- uses: github/codeql-action/upload-sarif@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.1.27
+ uses: github/codeql-action/upload-sarif@04df1262e6247151b5ac09cd2c303ac36ad3f62b # v2.1.27
with:
sarif_file: results.sarif
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index df31be80e..71e0c68fd 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -43,7 +43,7 @@ jobs:
message: ${{ steps.commit_message.outputs.message }}
steps:
- name: Checkout numpy
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
# Gets the correct commit message for pull request
with:
ref: ${{ github.event.pull_request.head.sha }}
@@ -92,7 +92,7 @@ jobs:
IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout numpy
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: true
# versioneer.py requires the latest tag to be reachable. Here we
@@ -171,7 +171,7 @@ jobs:
# IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout numpy
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: true
# versioneer.py requires the latest tag to be reachable. Here we
diff --git a/.github/workflows/windows_meson.yml b/.github/workflows/windows_meson.yml
index e0064dc19..aed6cd852 100644
--- a/.github/workflows/windows_meson.yml
+++ b/.github/workflows/windows_meson.yml
@@ -23,7 +23,7 @@ jobs:
# if: "github.repository == 'numpy/numpy'"
steps:
- name: Checkout
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
submodules: recursive
fetch-depth: 0