Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GitHub Actions deprecations and warnings #154

Merged
merged 3 commits into from
Sep 10, 2024
Merged
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
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
Loading