mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-04 16:11:28 +00:00
b5e5e4c212
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
37 lines
844 B
YAML
37 lines
844 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@v5
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Install Python dependencies
|
|
uses: insightsengineering/pip-action@v2.0.1
|
|
with:
|
|
requirements: .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.2
|
|
with:
|
|
path: lp_credentials
|
|
contents: ${{ secrets.LAUNCHPAD_CREDENTIALS }}
|
|
|
|
- name: Check for USNs
|
|
run: .github/workflows/scripts/check_usns.py lp_credentials
|