From 37f4793ee33ed3c47537b297824d4dd8de7d7e3b Mon Sep 17 00:00:00 2001 From: ximon18 <3304436+ximon18@users.noreply.github.com> Date: Wed, 15 Nov 2023 11:38:30 +0100 Subject: [PATCH] Bump GH Actions action versions work around GHA warning "The following actions uses node12 which is deprecated and will be forced to run on node16: . For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/". --- .github/workflows/ci.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daa541705..30fe8da4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: args: ["--no-default-features", "", "--features all"] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Rust uses: hecrj/setup-rust-action@v1 with: @@ -70,24 +70,22 @@ jobs: features: ["hsm", "hsm,hsm-tests-kmip"] steps: - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Install Rust - uses: hecrj/setup-rust-action@v1 + uses: hecrj/setup-rust-action@v2 with: rust-version: ${{ matrix.rust }} - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: # Pin to Python 3.11 because 3.12 removes the ssl.wrap_socket() # function which PyKMIP uses. python-version: '3.11' - name: Install PyKMIP - uses: BSFishy/pip-action@v1 - with: - packages: pykmip - constraints: test-resources/pykmip/constraints.txt + run: | + pip install pykmip --constraint test-resources/pykmip/constraints.txt - name: Compile the tests run: | @@ -118,10 +116,10 @@ jobs: features: ["hsm,hsm-tests-pkcs11"] steps: - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Install Rust - uses: hecrj/setup-rust-action@v1 + uses: hecrj/setup-rust-action@v2 with: rust-version: ${{ matrix.rust }}