fix(deps): update all non-major dependencies #579
Workflow file for this run
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: Server CI/CD | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, reopened, synchronize] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- name: Setup | Rust | |
uses: actions-rust-lang/[email protected] | |
with: | |
toolchain: stable | |
components: clippy | |
cache: false | |
- name: Setup | Rust-Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
server | |
- name: Setup | Setup Git to run feedback unit-tests | |
run: | | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
- run: cargo test --workspace | |
working-directory: server | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- name: Setup | Rust | |
uses: actions-rust-lang/[email protected] | |
with: | |
toolchain: stable | |
cache: false | |
- name: Setup | Rust-Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
server | |
- run: cargo clippy --workspace | |
working-directory: server | |
server-build: | |
uses: ./.github/workflows/_docker-build.yml | |
needs: | |
- tests | |
- linting | |
with: | |
image_suffix: server | |
context: ./server | |
dockerfile: Dockerfile | |
permissions: | |
contents: read | |
packages: write | |
feedback-deployment: | |
uses: ./.github/workflows/_restart-argocd.yml | |
needs: | |
- server-build | |
with: | |
deployment: feedback | |
secrets: | |
ARGOCD_TOKEN: ${{ secrets.ARGOCD_TOKEN }} | |
calendar-deployment: | |
uses: ./.github/workflows/_restart-argocd.yml | |
needs: | |
- server-build | |
with: | |
deployment: calendar | |
secrets: | |
ARGOCD_TOKEN: ${{ secrets.ARGOCD_TOKEN }} | |
server-deployment: | |
uses: ./.github/workflows/_restart-argocd.yml | |
needs: | |
- server-build | |
with: | |
deployment: server | |
secrets: | |
ARGOCD_TOKEN: ${{ secrets.ARGOCD_TOKEN }} |