Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build workflow #2744

Merged
merged 1 commit into from
Sep 25, 2022
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
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
matrix:
channel:
- "rust-toolchain" # The version defined in rust-toolchain
- "1.60.0" # The supported MSRV
- "msrv" # The supported MSRV
include:
- channel: "msrv"
version: "1.60.0"

name: Build and Test ${{ matrix.channel }}

Expand Down Expand Up @@ -63,7 +66,7 @@ jobs:
with:
profile: minimal
override: true
toolchain: ${{ matrix.channel }}
toolchain: ${{ matrix.version }}
# End Install the MSRV channel to be used


Expand Down Expand Up @@ -193,5 +196,5 @@ jobs:
if: ${{ matrix.channel == 'rust-toolchain' }}
with:
name: vaultwarden
path: target/${{ matrix.target-triple }}/release/vaultwarden
path: target/release/vaultwarden
# End Upload artifact to Github Actions
12 changes: 4 additions & 8 deletions .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Hadolint

on:
push:
paths:
- "docker/**"

pull_request:
paths:
- "docker/**"
on: [
push,
pull_request
]

jobs:
hadolint:
Expand Down