mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix Deprecation Warnings in 'Check USNs' Workflow.
Fix deprecation warnings for actions using a deprecated version of node. Also switch to a fixed version of the environment in order to avoid future deprecation warnings. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
c78c91fb66
commit
aa9f3843eb
1 changed files with 6 additions and 6 deletions
12
.github/workflows/snap_usns.yml
vendored
12
.github/workflows/snap_usns.yml
vendored
|
@ -7,28 +7,28 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
CheckUSNs:
|
CheckUSNs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
uses: BSFishy/pip-action@v1
|
uses: brettcannon/pip-secure-install@v1
|
||||||
with:
|
with:
|
||||||
requirements: .github/workflows/scripts/requirements.txt
|
requirements-file: .github/workflows/scripts/requirements.txt
|
||||||
|
|
||||||
- name: Install Snap dependencies
|
- name: Install Snap dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo snap install review-tools --edge
|
sudo snap install review-tools --edge
|
||||||
|
|
||||||
- name: Set up Launchpad credentials
|
- name: Set up Launchpad credentials
|
||||||
uses: DamianReeves/write-file-action@v1.0
|
uses: DamianReeves/write-file-action@v1
|
||||||
with:
|
with:
|
||||||
path: lp_credentials
|
path: lp_credentials
|
||||||
contents: ${{ secrets.LAUNCHPAD_CREDENTIALS }}
|
contents: ${{ secrets.LAUNCHPAD_CREDENTIALS }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue