Merge pull request #100 from atsign-foundation/dependabot/github_acti… #153
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: RuffLint | |
# Runs the workflow on the below events: | |
# 1. on pull request raised to trunk branch. | |
# 2. on push event to trunk branch. | |
on: | |
push: | |
branches: | |
- trunk | |
pull_request: | |
branches: | |
- trunk | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-latest | |
name: Lint MicroPython | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Install and run Ruff linter | |
uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0 | |
with: | |
src: | | |
'src/main.py' | |
'src/lib/aes.py' | |
'src/lib/atclient.py' | |
'src/lib/iv_nonce.py' | |
'src/lib/logging.py' | |
'src/lib/ntp_client.py' | |
'src/lib/pem_service.py' | |
'src/lib/uasn1.py' |