Skip to content

Commit 1b92394

Browse files
committed
ci
1 parent 3a5dcb4 commit 1b92394

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ on:
1010
- "main"
1111

1212
env:
13+
PROJECT_NAME: http-server
1314
JUST_VERSION: "1.36.0"
1415

1516
jobs:
1617
test:
1718
name: 🧪 Test
1819
runs-on: ubuntu-24.04
1920
steps:
20-
- uses: actions/checkout@v4
21-
with: { submodules: true }
21+
- { uses: actions/checkout@v4, with: { submodules: true } }
2222
- run: source ./.github/install-scripts/just/main.ps1
2323
- run: source ./.github/install-scripts/rust/main.ps1
2424
- run: just test
@@ -27,8 +27,7 @@ jobs:
2727
name: 📝 Format
2828
runs-on: ubuntu-24.04
2929
steps:
30-
- uses: actions/checkout@v4
31-
with: { submodules: true }
30+
- { uses: actions/checkout@v4, with: { submodules: true } }
3231
- run: source ./.github/install-scripts/just/main.ps1
3332
- run: source ./.github/install-scripts/rust/main.ps1
3433
- run: just fmt
@@ -37,8 +36,7 @@ jobs:
3736
name: 🤓 Lint
3837
runs-on: ubuntu-24.04
3938
steps:
40-
- uses: actions/checkout@v4
41-
with: { submodules: true }
39+
- { uses: actions/checkout@v4, with: { submodules: true } }
4240
- run: source ./.github/install-scripts/just/main.ps1
4341
- run: source ./.github/install-scripts/rust/main.ps1
4442
- run: just lint
@@ -86,8 +84,7 @@ jobs:
8684
name: ${{ matrix.config.name }}
8785
runs-on: ${{ matrix.config.runner }}
8886
steps:
89-
- uses: actions/checkout@v4
90-
with: { submodules: true }
87+
- { uses: actions/checkout@v4, with: { submodules: true } }
9188
- run: . ./.github/install-scripts/just/main.ps1
9289
- run: . ./.github/install-scripts/rust/main.ps1 && rustup target add ${{ matrix.config.rustup_target }}
9390
- env:
@@ -97,7 +94,7 @@ jobs:
9794
run: just build
9895
- uses: actions/upload-artifact@v4
9996
with:
100-
name: http-server-${{ matrix.config.os }}-${{ matrix.config.arch }}
97+
name: ${{ env.PROJECT_NAME }}-${{ matrix.config.os }}-${{ matrix.config.arch }}
10198
path: ${{ github.workspace }}/target/${{ matrix.config.os }}-${{ matrix.config.arch }}/**/*
10299
if-no-files-found: error
103100
retention-days: 1

rust-toolchain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.84.0

0 commit comments

Comments
 (0)