mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Merge pull request #52 from cisagov/improvement/workflows
Workflow improvements: 🦁 set-env, and 🐯 python-3.9, and 🐻 dependabot, oh my!
This commit is contained in:
commit
0923631e27
2 changed files with 17 additions and 3 deletions
13
.github/dependabot.yml
vendored
Normal file
13
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
|
||||||
|
- package-ecosystem: "pip"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -18,11 +18,12 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.9
|
||||||
- name: Store installed Python version
|
- name: Store installed Python version
|
||||||
run: |
|
run: |
|
||||||
echo "::set-env name=PY_VERSION::"\
|
echo "PY_VERSION="\
|
||||||
"$(python -c "import platform;print(platform.python_version())")"
|
"$(python -c "import platform;print(platform.python_version())")" \
|
||||||
|
>> $GITHUB_ENV
|
||||||
- name: Cache linting environments
|
- name: Cache linting environments
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue