Skip to content

Fix some lints and remove panic in auth action #440

Fix some lints and remove panic in auth action

Fix some lints and remove panic in auth action #440

Workflow file for this run

---
name: Tests
on:
push:
branches: ['main']
pull_request:
branches: ['*']
merge_group:
types: [ checks_requested ]
workflow_dispatch:
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
target: wasm32-unknown-unknown
- uses: arduino/setup-protoc@v1
with:
version: '3.x'
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --target wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: test
required-checks:
name: Tests Required Checks
# This check adds a list of checks to one job to simplify adding settings to the repo.
# If a new check is added in this file, and it should be retested on entry to the merge queue,
# it needs to be added to the list below aka needs: [ existing check 1, existing check 2, new check ].
needs: [ test ]
if: always()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo '${{ toJSON(needs) }}' | jq -e 'all(.[]; .result == "success" or .result == "skipped")'