build(deps-dev): bump @typescript-eslint/parser from 8.4.0 to 8.21.0 in /web #5182
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: Push tester | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- "v0.*" | |
- "v1.*" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
rust_checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
profile: minimal | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check formatting | |
uses: actions-rs/[email protected] | |
with: | |
command: fmt | |
args: --all -- --check | |
- name: Clippy & check | |
uses: actions-rs/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features | |
- name: Tests | |
uses: actions-rs/[email protected] | |
with: | |
command: test | |
args: --all --all-features | |
rust_tests: | |
strategy: | |
fail-fast: true | |
matrix: | |
pair: | |
- target: x86_64-unknown-linux-gnu | |
os: ubuntu-latest | |
- target: x86_64-apple-darwin | |
os: macos-14 | |
- target: x86_64-pc-windows-msvc | |
os: windows-latest | |
runs-on: ${{ matrix.pair.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
profile: minimal | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: bust-1 | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Tests | |
uses: actions-rs/[email protected] | |
with: | |
command: test | |
args: --all --all-features | |
# Make sure that `exm` compiles on some targets that we don't run tests on. | |
exm_build_check: | |
strategy: | |
fail-fast: true | |
matrix: | |
pair: | |
- target: armv7-unknown-linux-gnueabihf | |
os: ubuntu-latest | |
cross: true | |
- target: aarch64-apple-darwin | |
os: macos-14 | |
cross: false | |
runs-on: ${{ matrix.pair.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
target: ${{ matrix.pair.target }} | |
profile: minimal | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install master version of cross # TODO: Remove me once new cross is released | |
run: | | |
cargo install cross --locked --git https://github.com/cross-rs/cross | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions-rs/[email protected] | |
with: | |
use-cross: ${{ matrix.pair.cross }} | |
command: check | |
args: -p exm --target ${{ matrix.pair.target }} | |
web_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- name: Build & test | |
run: | | |
cd web | |
yarn install --frozen-lockfile | |
yarn build | |
yarn test | |
yarn lint | |
env: | |
NODE_OPTIONS: "--openssl-legacy-provider" | |
electron_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- name: Build | |
run: | | |
cd web | |
yarn install --frozen-lockfile | |
yarn electron | |
env: | |
NODE_OPTIONS: "--openssl-legacy-provider" | |
ios_build: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: | | |
HOMEBREW_NO_INSTALL_CLEANUP=1 brew install swift-protobuf | |
- uses: actions/cache@v4 | |
with: | |
path: ios/Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- name: Build | |
run: | | |
cd $GITHUB_WORKSPACE/web | |
yarn install --frozen-lockfile | |
yarn build_ios | |
cd $GITHUB_WORKSPACE/ios | |
pod install | |
xcodebuild -workspace Exomind.xcworkspace -scheme Exomind -destination "generic/platform=iOS" CODE_SIGNING_ALLOWED=NO | |
env: | |
NODE_OPTIONS: "--openssl-legacy-provider" | |
app_package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
profile: minimal | |
target: wasm32-wasi | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download exo | |
run: | | |
wget https://github.com/appaquet/exocore/releases/download/v0.1.25/exo.x86_64-unknown-linux-gnu.tar.gz -O - | tar -zx | |
echo `pwd` >> $GITHUB_PATH | |
- name: Build & package app | |
run: | | |
cd $GITHUB_WORKSPACE | |
./app/tools/build.sh | |
markdown_links_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gaurav-nelson/[email protected] |