From f5ccdce375bab7b469f157cd8902085ba5e5c612 Mon Sep 17 00:00:00 2001 From: Weiliang Li Date: Mon, 12 Dec 2022 19:42:55 +0900 Subject: [PATCH] Bump Github Actions (#94) --- .github/workflows/cd.yml | 12 ++++++------ .github/workflows/ci.yml | 13 ++++++------- Cargo.toml | 2 +- README.md | 2 +- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index bfd1807..4c1b58c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,4 @@ -name: Publish +name: CD on: release: @@ -11,19 +11,19 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 - uses: actions-rs/toolchain@v1 with: toolchain: stable override: true target: wasm32-unknown-unknown - - uses: actions/setup-node@v1 - with: - node-version: 16 - uses: actions-rs/cargo@v1 with: command: generate-lockfile - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | ~/.cargo/registry diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e5e745..8624acb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Build +name: CI on: push: @@ -11,18 +11,17 @@ env: CARGO_TERM_COLOR: always jobs: - check-and-build: + build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] toolchain: [stable, beta, nightly] steps: - - uses: actions/checkout@v2 - # set up environment - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.toolchain }} @@ -33,7 +32,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: generate-lockfile - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | ~/.cargo/registry diff --git a/Cargo.toml b/Cargo.toml index 50686e2..e87b3d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ repository = "https://github.com/ecies/rs" [dependencies] hkdf = "0.12.3" libsecp256k1 = "0.7.1" -sha2 = "0.10.2" +sha2 = "0.10.6" # openssl aes openssl = {version = "0.10.42", optional = true} diff --git a/README.md b/README.md index a789fdd..7e9b839 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # eciesrs -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/1c6d6ed949dd4836ab97421039e8be75)](https://www.codacy.com/app/ecies/rs) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/1c6d6ed949dd4836ab97421039e8be75)](https://app.codacy.com/gh/ecies/rs/dashboard) [![License](https://img.shields.io/github/license/ecies/rs.svg)](https://github.com/ecies/rs) [![CI](https://img.shields.io/github/workflow/status/ecies/rs/Build)](https://github.com/ecies/rs/actions) [![Crates](https://img.shields.io/crates/v/ecies)](https://crates.io/crates/ecies)