Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
container: registry.famedly.net/docker-oss/rust-container:nightly
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Set up Rust
uses: famedly/backend-build-workflows/.github/actions/rust-prepare@main
Expand Down Expand Up @@ -58,12 +58,12 @@ jobs:
run: "mv target/release/${{ github.event.repository.name }} target/release/${{ matrix.asset_name }}"

- name: Attest
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4
with:
subject-path: '${{ github.workspace }}/target/release/${{ matrix.asset_name }}'

- name: Upload binary
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: release-${{ matrix.asset_name }}
path: '${{ github.workspace }}/target/release/${{ matrix.asset_name }}'
Expand All @@ -77,7 +77,7 @@ jobs:
container: registry.famedly.net/docker-oss/rust-container:nightly
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Set up Rust
uses: famedly/backend-build-workflows/.github/actions/rust-prepare@main
Expand Down Expand Up @@ -110,21 +110,21 @@ jobs:
run: cargo cyclonedx -f json

- name: Attest SPDX SBOM
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4
with:
subject-path: '${{ github.workspace }}/${{ github.event.repository.name }}.spdx.json'
- name: Attest CycloneDX SBOM
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4
with:
subject-path: '${{ github.workspace }}/${{ github.event.repository.name }}.cdx.json'

- name: Upload SPDX SBOM
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: release-sbom-spdx
path: '${{ github.workspace }}/${{ github.event.repository.name}}.spdx.json'
- name: Upload CycloneDX SBOM
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: release-sbom-cdx
path: '${{ github.workspace }}/${{ github.event.repository.name }}.cdx.json'
Expand All @@ -134,7 +134,7 @@ jobs:
needs: [build, sbom]
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
pattern: release-*
path: artifacts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- uses: famedly/backend-build-workflows/.github/actions/rust-prepare@main
with:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- uses: famedly/backend-build-workflows/.github/actions/rust-prepare@main
with:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
docker compose --project-directory ./tests/environment logs

- name: Codecov - Upload coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
with:
token: ${{secrets.CODECOV_TOKEN}}
files: lcov.info
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ version = "*"
features = ["rustls-tls-native-roots", "json"]

[build-dependencies]
vergen = { version = "8.2.6", features = ["git", "gitcl", "build"] } # vergen passes metadata like the version and git commit hash to cargo as a compile-time environment variables
vergen = { version = "9.0.0", features = ["git", "gitcl", "build"] } # vergen passes metadata like the version and git commit hash to cargo as a compile-time environment variables

[dev-dependencies]
indoc = "2.0.5"
Expand Down
Loading