Skip to content

Commit

Permalink
Bump github actions dependencies (#29)
Browse files Browse the repository at this point in the history
* Bump github actions dependencies

Resolves: AlmaLinux/build-system#181

* Black formater
  • Loading branch information
maccelf authored Feb 13, 2024
1 parent 2d1e5f0 commit 51e9aee
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Check out repository
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v39
uses: tj-actions/changed-files@v42
with:
files: |
**/*.py
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
junitxml-path: /tmp/pytest.xml
- name: Create the Badge
if: ${{ github.ref == 'refs/heads/master' && steps.coverageComment.outputs.coverage }}
uses: schneegans/dynamic-badges-action@v1.6.0
uses: schneegans/dynamic-badges-action@v1.7.0
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: 809b43cccaf8256b03fc0103e245eefc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v39
uses: tj-actions/changed-files@v42
with:
files: |
**/*.py
Expand Down
18 changes: 8 additions & 10 deletions alma_tests_cacher/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ def get_config(config_path: Optional[Path] = None) -> Config:

def prepare_gerrit_repo_url(url: str, username: str) -> str:
parsed = urlparse(url)
return urlunparse(
(
parsed.scheme,
f'{username}@{parsed.netloc}',
parsed.path,
parsed.params,
parsed.query,
parsed.fragment,
)
)
return urlunparse((
parsed.scheme,
f'{username}@{parsed.netloc}',
parsed.path,
parsed.params,
parsed.query,
parsed.fragment,
))


def clone_git_repo(
Expand Down

1 comment on commit 51e9aee

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Total coverage

Coverage report for changed files •
FileStmtsMissCoverMissing
utils.py17382%18–19, 47
TOTAL1816166% 

Tests Skipped Failures Errors Time
3 0 💤 0 ❌ 0 🔥 0.527s ⏱️

Please sign in to comment.