Skip to content

feat: update gitignore #11

feat: update gitignore

feat: update gitignore #11

Workflow file for this run

name: Code Quality
env: PROD
on: push
env:

Check failure on line 5 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
run: |
rustup update --no-self-update stable
rustup component add --toolchain stable rustfmt
rustup default stable
- name: Set up environment variables
run: |
echo "SERVER_SSL_CA=${{ secrets.SERVER_SSL_CA }}" >> $GITHUB_ENV
echo "SERVER_SSL_CERT=${{ secrets.SERVER_SSL_CERT }}" >> $GITHUB_ENV
echo "SERVER_SSL_KEY=${{ secrets.SERVER_SSL_KEY }}" >> $GITHUB_ENV
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Run fmt check
run: cargo fmt -- --check