Skip to content

Commit

Permalink
Merge pull request #154 from JOJ0/fix_gh_actions
Browse files Browse the repository at this point in the history
Fix GitHub Actions deprecations and warnings
  • Loading branch information
JOJ0 authored Sep 10, 2024
2 parents 2c162ed + 817ca13 commit 0cd2d30
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
name: Lint with flake8
steps:
- name: Check out source repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Run flake8
uses: py-actions/flake8@v2
uses: py-actions/flake8@v2.3.0
with:
exclude: "setup.py"

14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v2
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.10'

- name: Install & Upgrade Pip
run: |
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: "Get latest release"
id: last_release
uses: InsonusK/get-latest-release@v1.0.1
uses: InsonusK/get-latest-release@v1.1.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
exclude_types: ""
Expand All @@ -70,9 +70,9 @@ jobs:
run: |
if [[ "${{ steps.last_release.outputs.tag_name }}" == "${{ env.tag_full }}" ]];
then
echo "::set-output name=release_existing::true"
echo "release_existing=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=release_existing::false"
echo "release_existing=false" >> $GITHUB_OUTPUT
fi
- name: Create release
Expand Down

0 comments on commit 0cd2d30

Please sign in to comment.