Use docker latest tag #721
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: Format and build | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# ubuntu-latest provides node & rust installed by default | |
# checkout the image for version specifics | |
# > https://github.com/actions/runner-images#available-images | |
- run: npm install | |
- run: npm run prettier:check | |
- run: npm run build | |
- name: install dependencies for tauri | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf | |
- working-directory: ./src-tauri | |
run: cargo check | |
- working-directory: ./src-tauri | |
run: cargo fmt --check |