Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: Lint (fmt + clippy + audit)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- { target: "aarch64-apple-darwin", os: "macos-14", arch: "aarch64", extension: "" }
- { target: "x86_64-pc-windows-msvc", os: "windows-latest", arch: "amd64", extension: ".exe" }
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
Expand All @@ -79,7 +79,7 @@ jobs:
name: Unit tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
Expand Down
35 changes: 8 additions & 27 deletions .github/workflows/release-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ on:
required: false
type: string
default: "canary"
pluginify_url:
description: "URL of the spin-pluginify plugin manifest"
required: false
type: string
default: ""
release_tag:
description: "GitHub release tag to publish to (defaults to the pushed tag)"
required: false
Expand Down Expand Up @@ -60,7 +55,7 @@ jobs:
- { target: "aarch64-apple-darwin", os: "macos-14", arch: "aarch64", extension: "" }
- { target: "x86_64-pc-windows-msvc", os: "windows-latest", arch: "amd64", extension: ".exe" }
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ inputs.rust_toolchain }}
Expand All @@ -70,17 +65,10 @@ jobs:
shared-key: "release-${{ inputs.package }}-${{ matrix.config.target }}-${{ hashFiles('Cargo.lock') }}"
cache-on-failure: "true"
- name: Install Spin
uses: rajatjindal/setup-actions/spin@main
uses: spinframework/actions/spin/setup@v1
with:
version: ${{ inputs.spin_version }}
- name: Install pluginify
shell: bash
run: |
if [ -n "${{ inputs.pluginify_url }}" ]; then
spin plugins install --url "${{ inputs.pluginify_url }}" --yes
else
spin plugins install pluginify --yes
fi
plugins: pluginify
- name: Set up cross-compiled linux aarch64 build
if: matrix.config.target == 'aarch64-unknown-linux-gnu'
run: |
Expand All @@ -101,7 +89,7 @@ jobs:
working-directory: crates/${{ inputs.crate }}
run: spin pluginify --arch ${{ matrix.config.arch }}
- name: Archive pluginified
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ inputs.package }}-${{ matrix.config.os }}-${{ matrix.config.arch }}
path: |
Expand All @@ -113,19 +101,12 @@ jobs:
runs-on: ubuntu-22.04
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Install Spin
uses: rajatjindal/setup-actions/spin@main
uses: spinframework/actions/spin/setup@v1
with:
version: ${{ inputs.spin_version }}
- name: Install pluginify
shell: bash
run: |
if [ -n "${{ inputs.pluginify_url }}" ]; then
spin plugins install --url "${{ inputs.pluginify_url }}" --yes
else
spin plugins install pluginify --yes
fi
plugins: pluginify
- name: Resolve release tag
shell: bash
run: |
Expand All @@ -137,7 +118,7 @@ jobs:
echo "RELEASE_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
fi
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: ${{ inputs.package }}-*
path: crates/${{ inputs.crate }}/artifacts
Expand Down
Loading