Skip to content

Commit

Permalink
chore: upgrading actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
glasswalk3r committed Apr 7, 2024
1 parent 4ca6a36 commit 44c424d
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
---
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see:
# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python application

on: # yamllint disable-line rule:truthy
push:
paths-ignore:
- README.md
- '*.md'
- '*.rst'
- Makefile
branches: ["main"]
- sample.py
pull_request:
branches: ["main"]
branches:
- main

permissions:
contents: read
Expand All @@ -23,12 +21,11 @@ jobs:
strategy:
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v4
with:
Expand All @@ -48,6 +45,6 @@ jobs:
run: |
pytest
- name: Searchs for know vulnerabities
uses: pypa/gh-action-pip-audit@v1.0.0
uses: pypa/gh-action-pip-audit@v1.0.8
with:
inputs: requirements.txt

0 comments on commit 44c424d

Please sign in to comment.