Skip to content

Commit 0923631

Browse files
authored
Merge pull request #52 from cisagov/improvement/workflows
Workflow improvements: 🦁 set-env, and 🐯 python-3.9, and 🐻 dependabot, oh my!
2 parents 1541144 + 7389a1b commit 0923631

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/dependabot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"
9+
10+
- package-ecosystem: "pip"
11+
directory: "/"
12+
schedule:
13+
interval: "weekly"

.github/workflows/build.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ jobs:
1818
- uses: actions/checkout@v2
1919
- uses: actions/setup-python@v2
2020
with:
21-
python-version: 3.8
21+
python-version: 3.9
2222
- name: Store installed Python version
2323
run: |
24-
echo "::set-env name=PY_VERSION::"\
25-
"$(python -c "import platform;print(platform.python_version())")"
24+
echo "PY_VERSION="\
25+
"$(python -c "import platform;print(platform.python_version())")" \
26+
>> $GITHUB_ENV
2627
- name: Cache linting environments
2728
uses: actions/cache@v2
2829
with:

0 commit comments

Comments
 (0)