Skip to content

Bump anchore/sbom-action from 0.17.1 to 0.17.2 #232

Bump anchore/sbom-action from 0.17.1 to 0.17.2

Bump anchore/sbom-action from 0.17.1 to 0.17.2 #232

Workflow file for this run

name: rsd CI
on:
push:
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.78.0
permissions:
contents: read
jobs:
rust-ci:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
azure.archive.ubuntu.com:80
esm.ubuntu.com:443
github.com:443
motd.ubuntu.com:443
packages.microsoft.com:443
sh.rustup.rs:443
static.rust-lang.org:443
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- run: |
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=${{ env.RUST_VERSION }} -y
export PATH="$HOME/.cargo/bin:$PATH"
rustup default stable
rustup component add rustfmt
- name: Run Checks
run: |
cargo fmt --all -- --check
cargo build --all --release