build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 #487
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
workflow_dispatch: | |
name: Library Crates | |
env: | |
AS: nasm | |
AR: llvm-ar | |
CC: clang | |
NIGHTLY_RUST_TOOLCHAIN: nightly-2023-12-31 | |
TOOLCHAIN_PROFILE: minimal | |
permissions: | |
contents: read | |
jobs: | |
lib-test: | |
name: Build Library Crates | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
# Install first since it's needed to build NASM | |
- name: Install LLVM and Clang | |
uses: KyleMayes/install-llvm-action@8b37482c5a2997a3ab5dbf6561f8109e2eaa7d3b # v2.0.2 | |
with: | |
version: "10.0" | |
directory: ${{ runner.temp }}/llvm | |
- name: install NASM | |
uses: ilammy/setup-nasm@13cbeb366c45c4379d3478cdcbadd8295feb5028 # v1.5.1 | |
- name: Install tools for sgx lib | |
run: sudo apt-get install build-essential ocaml ocamlbuild automake autoconf libtool wget python-is-python3 libssl-dev git cmake perl | |
- name: Install nightly toolchain | |
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 | |
with: | |
profile: ${{ env.TOOLCHAIN_PROFILE }} | |
toolchain: ${{ env.NIGHTLY_RUST_TOOLCHAIN }} | |
override: true | |
- name: Checkout sources | |
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | |
with: | |
submodules: recursive | |
- name: Preparation work | |
run: bash sh_script/preparation.sh | |
- name: Build library crates | |
run: cargo xtask lib-build | |
- name: Test library crates | |
run: cargo xtask lib-test |