diff options
| author | Mica White <botahamec@outlook.com> | 2026-10-31 11:10:49 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-10-31 11:10:49 -0400 |
| commit | 264ea48cc8c6dd9c3c9e0fe1a559252863fc9962 (patch) | |
| tree | 84a4a58de14442f4fcfa06bd0d82480508f82759 /.github | |
| parent | 7877eca4e8be283e7c51168ee3a3b05d9000f39c (diff) | |
| parent | b45a98a85c776d956a797773acd2f198c06b40ed (diff) | |
Merge branch 'main' into bota-tortuise
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/audit.yaml | 46 | ||||
| -rw-r--r-- | .github/workflows/test.yaml | 15 |
2 files changed, 59 insertions, 2 deletions
diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml new file mode 100644 index 0000000..fa785ca --- /dev/null +++ b/.github/workflows/audit.yaml @@ -0,0 +1,46 @@ +name: Audit dependencies + +on: + pull_request: + paths: + - ".github/workflows/audit.yaml" + - "**/Cargo.toml" + - "Cargo.lock" + push: + branches: [main, next] + paths: + - ".github/workflows/audit.yaml" + - "**/Cargo.toml" + - "Cargo.lock" + schedule: + # Every Monday at 12:30 UTC + - cron: "30 12 * * 1" + workflow_dispatch: + +permissions: + contents: read + +jobs: + scan-pr: + if: github.event_name == 'pull_request' + permissions: + actions: read + contents: read + security-events: write + uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@a345acffa64b0eaede81a3d9aae6141214d9c8fc # v2.6.0 + with: + runs-on: ubuntu-24.04 + upload-sarif: false + scan-args: --lockfile=./Cargo.lock + + scan: + if: github.event_name != 'pull_request' + permissions: + actions: read + contents: read + security-events: write + uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@a345acffa64b0eaede81a3d9aae6141214d9c8fc # v2.6.0 + with: + runs-on: ubuntu-24.04 + fail-on-vuln: false + scan-args: --lockfile=./Cargo.lock diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e950c47..ed441cd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,6 +8,9 @@ on: schedule: - cron: "0 0 * * 0" +permissions: + contents: read + jobs: build-wasm: name: Build wasm @@ -18,7 +21,7 @@ jobs: submodules: true persist-credentials: false - name: Install Rust toolchain - uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1 + uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0 with: toolchain: nightly components: rust-src @@ -55,6 +58,10 @@ jobs: rust: nightly name: "Linux x86 (nightly)" - os: ubuntu-latest + rust: nightly + name: "Linux x86 (nightly tail calls)" + args: "--features tinywasm/nightly-tail-calls" + - os: ubuntu-latest rust: stable name: "Linux x86 (stable, no default features)" args: "--no-default-features" @@ -62,6 +69,10 @@ jobs: rust: nightly name: "Linux x86 (nightly, no default features)" args: "--no-default-features" + - os: ubuntu-latest + rust: nightly + name: "Linux x86 (nightly tail calls, no default features)" + args: "--no-default-features --features tinywasm/nightly-tail-calls" - os: macos-14 rust: stable name: "macOS arm64 (Apple M1)" @@ -84,7 +95,7 @@ jobs: persist-credentials: false - name: Install Rust toolchain - uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1 + uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0 with: toolchain: ${{ matrix.rust }} rustflags: "" |
