Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
feat: rust usecase
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenLoc committed Mar 6, 2024
1 parent 7917f23 commit deb7f8e
Show file tree
Hide file tree
Showing 20 changed files with 2,452 additions and 6 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/rocketTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: verfiy rocket showcase

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

env:
_JAVA_OPTS: "-Xmx2g"
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.workers.max=2 -Dorg.gradle.console=plain"

jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack@0.5,cargo-deny@0.13,just@1,hurl@4,cargo-edit@0.12
- run: just verify-rocket
4 changes: 4 additions & 0 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ install:

showcase:
cd showcases/springboot && just verify
cd showcases/rocket && just verify

verify-spring:
cd showcases/springboot && just verify

verify-rocket:
cd showcases/rocket && just verify
16 changes: 16 additions & 0 deletions showcases/rocket/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/.cargo
/.github
/.idea
/api
/target
/.dockerignore
/.gitignore
/.releaserc.json
/CODEOWNERS
/deny.toml
/docker-compose.yaml
/*.svg
/justfile
/README.md
/renovate.json
*.pem
Loading

0 comments on commit deb7f8e

Please sign in to comment.