Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip

Check warning on line 28 in .github/workflows/main.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=mivek_python-metar-taf-parser&issues=AZ-cYcp2ZiQzo-vEbDUF&open=AZ-cYcp2ZiQzo-vEbDUF&pullRequest=154
make install

- name: Lint with flake8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
node-version: 'lts/*'
cache: 'npm'
- name: Setup Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.14'
- name: Install dependencies
run: npm install

Check warning on line 34 in .github/workflows/release.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=mivek_python-metar-taf-parser&issues=AZ-cYcmlZiQzo-vEbDUB&open=AZ-cYcmlZiQzo-vEbDUB&pullRequest=154

Check warning on line 34 in .github/workflows/release.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=mivek_python-metar-taf-parser&issues=AZ-cYcmlZiQzo-vEbDUC&open=AZ-cYcmlZiQzo-vEbDUC&pullRequest=154
- name: Run semantic-release
run: npx semantic-release

Check warning on line 36 in .github/workflows/release.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Define exact package version to avoid installing unverified releases.

See more on https://sonarcloud.io/project/issues?id=mivek_python-metar-taf-parser&issues=AZ-cYcmlZiQzo-vEbDUE&open=AZ-cYcmlZiQzo-vEbDUE&pullRequest=154

Check warning on line 36 in .github/workflows/release.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"npx" can install packages on-demand and run their lifecycle scripts.

See more on https://sonarcloud.io/project/issues?id=mivek_python-metar-taf-parser&issues=AZ-cYcmlZiQzo-vEbDUD&open=AZ-cYcmlZiQzo-vEbDUD&pullRequest=154
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_PASSWORD }}