chore(deps): update rust crate zip to v2 #13002
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
--- | |
################################# | |
################################# | |
## Super Linter GitHub Actions ## | |
################################# | |
################################# | |
name: Lint Code Base | |
# | |
# Documentation: | |
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
# | |
############################# | |
# Start the job on all push # | |
############################# | |
on: | |
push: | |
pull_request: | |
branches: [main] | |
############### | |
# Set the Job # | |
############### | |
jobs: | |
build: | |
# Name the Job | |
name: Lint Code Base | |
# Set the agent to run on | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
packages: read | |
# To report GitHub Actions status checks | |
statuses: write | |
################## | |
# Load all steps # | |
################## | |
steps: | |
- name: Install lld | |
run: | | |
sudo apt-get update | |
sudo apt-get install lld | |
########################## | |
# Checkout the code base # | |
########################## | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
# Full git history is needed to get a proper list of changed files within `super-linter` | |
fetch-depth: 0 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
flutter-version-file: "crates/ui/pubspec.yaml" | |
- name: Get flutter deps | |
run: flutter pub get | |
working-directory: crates/ui | |
################################ | |
# Run Linter against code base # | |
################################ | |
- name: Lint Code Base | |
uses: super-linter/[email protected] | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
VALIDATE_JSCPD: false | |
VALIDATE_CHECKOV: false | |
# This gives false positives because the flutter sdk and the dependencies are not available | |
VALIDATE_DART: false | |
VALIDATE_RUST_2015: false | |
VALIDATE_RUST_2018: false | |
VALIDATE_EDITORCONFIG: false | |
LINTER_RULES_PATH: / | |
PROTOBUF_CONFIG_FILE: .protolint.yaml | |
IGNORE_GENERATED_FILES: true | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |