Skip to content

Commit d8096e9

Browse files
authored
Merge pull request #6 from ghazi-git/update-actions-versions
update github actions versions and avoid duplicate runs
2 parents 954c0a2 + ec772d9 commit d8096e9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/github_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
2020
shell: bash
2121
- name: Checkout code
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v6
2323
- name: Get Changelog Entry
2424
id: changelog_reader
2525
uses: mindsers/changelog-reader-action@v2

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Tests
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches: [main]
6+
pull_request:
7+
types: [opened, synchronize]
68

79
jobs:
810
test:
@@ -13,9 +15,9 @@ jobs:
1315
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
1416

1517
steps:
16-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1719
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@v6
1921
with:
2022
python-version: ${{ matrix.python-version }}
2123
- name: Install dependencies

0 commit comments

Comments
 (0)