chore(deps): update ghcr.io/renovatebot/renovate docker tag to v38.142.1 #841
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
name: "Test Suite" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
# Make sure each push gets a separate concurrency group so pushes to main | |
# don't cancel each other. | |
group: >- | |
build-${{ | |
github.event_name == 'pull_request' && | |
github.ref || | |
github.sha | |
}} | |
cancel-in-progress: true | |
jobs: | |
# Actions only allows one waiter per concurrency group, so we do the waiting | |
# ourselves. | |
turnstile: | |
name: Wait for any other builds of ${{ github.workflow }} | |
runs-on: ubuntu-24.04 | |
if: github.event_name == 'push' | |
steps: | |
- name: Wait | |
uses: softprops/turnstyle@ab8b8426f6b6562c0ff7f220433860183338596c # v2.2.3 | |
with: | |
continue-after-seconds: 600 | |
build: | |
strategy: | |
matrix: | |
config: | |
- target: x86_64-unknown-linux-gnu | |
sysroot: /usr/lib/x86_64-linux-gnu | |
- target: aarch64-unknown-linux-gnu | |
sysroot: /usr/lib/aarch64-linux-gnu | |
# Share build results via cache between the `build-rust.yml` and | |
# `pulumi.yml` workflows, because they have the same concurrency group. The | |
# later one will wait for the earlier. | |
concurrency: | |
group: build-${{ github.sha }}-${{ matrix.config.target }} | |
cancel-in-progress: false | |
name: Build, test, format | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Check out | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Build | |
uses: ./.github/actions/build | |
with: | |
always-restore-build-cache: true | |
build-type: | |
${{ github.event_name == 'pull_request' && 'debug' || 'release' }} | |
pkg-config-sysroot: ${{ matrix.config.sysroot }} | |
target: ${{ matrix.config.target }} | |
- name: Run tests | |
if: matrix.config.target == 'x86_64-unknown-linux-gnu' | |
run: cargo test --all-features | |
- name: Rustfmt Check | |
uses: actions-rust-lang/rustfmt@559aa3035a47390ba96088dffa783b5d26da9326 # v1.1.1 |