Skip to content

Commit 10ea997

Browse files
committed
v0.0.38
1 parent 139dc6e commit 10ea997

File tree

9 files changed

+2113
-94
lines changed

9 files changed

+2113
-94
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ on:
4747
jobs:
4848
# Run 'dist plan' (or host) to determine what tasks we need to do
4949
plan:
50-
runs-on: "ubuntu-20.04"
50+
runs-on: "ubuntu-latest"
5151
outputs:
5252
val: ${{ steps.plan.outputs.manifest }}
5353
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -76,7 +76,7 @@ jobs:
7676
# but also really annoying to build CI around when it needs secrets to work right.)
7777
- id: plan
7878
run: |
79-
dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json
79+
dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0} --allow-dirty', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json
8080
echo "dist ran successfully"
8181
cat plan-dist-manifest.json
8282
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
@@ -140,7 +140,7 @@ jobs:
140140
- name: Build artifacts
141141
run: |
142142
# Actually do builds and make zips and whatnot
143-
dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
143+
dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} --allow-dirty > dist-manifest.json
144144
echo "dist ran successfully"
145145
- id: cargo-dist
146146
name: Post-build
@@ -192,7 +192,7 @@ jobs:
192192
- id: cargo-dist
193193
shell: bash
194194
run: |
195-
dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json
195+
dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" --allow-dirty > dist-manifest.json
196196
echo "dist ran successfully"
197197
198198
# Parse out what we just built and upload it to scratch storage
@@ -241,7 +241,7 @@ jobs:
241241
- id: host
242242
shell: bash
243243
run: |
244-
dist host ${{ needs.plan.outputs.tag-flag }} --steps=upload --steps=release --output-format=json > dist-manifest.json
244+
dist host ${{ needs.plan.outputs.tag-flag }} --steps=upload --steps=release --output-format=json --allow-dirty > dist-manifest.json
245245
echo "artifacts uploaded and released successfully"
246246
cat dist-manifest.json
247247
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"

.github/workflows/rust.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: rustc -V
20+
run: rustc -V
21+
- name: cargo -V
22+
run: cargo -V
23+
- name: Build
24+
run: cat Cargo.toml && cargo build --verbose
25+
- name: Run tests
26+
run: cat Cargo.toml && cargo test --verbose

0 commit comments

Comments
 (0)