mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
aa9f3843eb
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>
37 lines
842 B
YAML
37 lines
842 B
YAML
name: SnapUSNs
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 5 * * *'
|
|
|
|
jobs:
|
|
CheckUSNs:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.x'
|
|
|
|
- name: Install Python dependencies
|
|
uses: brettcannon/pip-secure-install@v1
|
|
with:
|
|
requirements-file: .github/workflows/scripts/requirements.txt
|
|
|
|
- name: Install Snap dependencies
|
|
run: |
|
|
sudo snap install review-tools --edge
|
|
|
|
- name: Set up Launchpad credentials
|
|
uses: DamianReeves/write-file-action@v1
|
|
with:
|
|
path: lp_credentials
|
|
contents: ${{ secrets.LAUNCHPAD_CREDENTIALS }}
|
|
|
|
- name: Check for USNs
|
|
run: .github/workflows/scripts/check_usns.py lp_credentials
|