[nakago-ws] Bugfix: Type Parameters (#117) #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docs: | |
name: Docker build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Check documentation | |
run: cargo doc --no-deps --document-private-items --all-features --workspace --examples | |
env: | |
RUSTDOCFLAGS: -D warnings | |
- name: Release build | |
run: cargo build --release --all-features --workspace | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Docker build | |
id: docker_build | |
uses: docker/build-push-action@v6 | |
with: | |
context: ./ | |
file: ./examples/async-graphql/Dockerfile | |
push: false | |
tags: async-graphql:latest | |
- name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} | |
publish-dry-run: | |
name: Publish dry run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Dry run - Nakago | |
run: cargo publish --dry-run -p nakago | |
# TODO: Once full publishing is enabled above, these can be restored | |
# - name: Dry run - Nakago Axum | |
# run: cargo publish --dry-run -p nakago-axum | |
# - name: Dry run - Nakago SeaORM | |
# run: cargo publish --dry-run -p nakago-sea-orm |