Skip to content

Commit

Permalink
Merge branch 'main' into remap-path
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Oct 18, 2024
2 parents 2d4bcf9 + 8b58676 commit 6719807
Show file tree
Hide file tree
Showing 95 changed files with 1,459 additions and 2,189 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ defaults:
run:
shell: bash

permissions:
id-token: write
contents: write
attestations: write

jobs:

build:
Expand Down Expand Up @@ -62,6 +67,11 @@ jobs:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
working-directory: ${{ env.BUILD_WORKING_DIR }}
run: cargo build --target-dir="$GITHUB_WORKSPACE/target" --package ${{ matrix.crate.name }} --features opt --release --target ${{ matrix.sys.target }}
- name: Build provenance for attestation (release only)
if: github.event_name == 'release'
uses: actions/attest-build-provenance@v1
with:
subject-path: target/${{ matrix.sys.target }}/release/${{ matrix.crate.binary }}${{ matrix.sys.ext }}
- name: Compress
run: |
cd target/${{ matrix.sys.target }}/release
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ defaults:
shell: bash

jobs:
dependency-sanity-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update
- run: scripts/check-dependencies.bash
validate-rust-git-rev-deps:
runs-on: ubuntu-latest
steps:
Expand Down
47 changes: 0 additions & 47 deletions .github/workflows/full-help-docs.yml

This file was deleted.

13 changes: 7 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

complete:
if: always()
needs: [fmt, build-and-test, publish-dry-run]
needs: [fmt, check-generated-full-help-docs, build-and-test, publish-dry-run]
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
Expand All @@ -30,13 +30,14 @@ jobs:
- run: rustup update
- run: cargo fmt --all --check

check-generated-examples-list:
runs-on: ubuntu-latest
check-generated-full-help-docs:
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v4
- run: make generate-examples-list
- name: Check no diffs exist
run: git add -N . && git diff HEAD --exit-code
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: make generate-full-help-doc
- run: git add -N . && git diff HEAD --exit-code

build-and-test:
strategy:
Expand Down
Loading

0 comments on commit 6719807

Please sign in to comment.