Skip to content

fix: remove to_string call on encrypted strings, replace with string … #100

fix: remove to_string call on encrypted strings, replace with string …

fix: remove to_string call on encrypted strings, replace with string … #100

on:
push:
branches:
- main
- release/v4
jobs:
clippy_check_cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-hub/docker/cli@f5fdbfc3f9d2a9265ead8962c1314108a7b7ec5d
env:
SKIP_LOGIN: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Compile project
run: cargo build
- name: Test project
run: cargo test -p ev-cli -p ev-enclave
- name: Format project
run: cargo fmt --check
- name: Lint project
run: cargo clippy
get-version:
needs: [clippy_check_cli]
runs-on: ubuntu-latest
outputs:
full_version: ${{ steps.get-full-version.outputs.full_version }}
steps:
- uses: actions/checkout@v4
- id: get-full-version
run: |
echo "using sha tag ${GITHUB_SHA::6}"
echo ::set-output name=full_version::4.0.0-${GITHUB_SHA::6}
build-and-deploy:
needs: [get-version]
uses: ./.github/workflows/build-and-publish.yml
with:
stage: "staging"
major-version: "4"
full-version: "${{ needs.get-version.outputs.full_version }}"
ev-domain: "evervault.io"
secrets:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_STAGING }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_STAGING }}
aws-cloudfront-distribution-id: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID_STAGING }}