Skip to content

Commit 89412e0

Browse files
committed
update build actions
1 parent 1f2f23b commit 89412e0

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [macos-latest, ubuntu-latest, windows-latest]
20-
python-version: [3.9]
20+
python-version: ["3.8", "3.9"]
2121

2222
steps:
2323
- uses: actions/checkout@v2
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929

30-
- uses: Gr1N/setup-poetry@v4
30+
- uses: Gr1N/setup-poetry@v7
3131

3232
- run: pip install poetry-dynamic-versioning
3333

@@ -72,9 +72,9 @@ jobs:
7272
- name: setup python environment
7373
uses: actions/setup-python@v2
7474
with:
75-
python-version: 3.9
75+
python-version: "3.9"
7676

77-
- uses: Gr1N/setup-poetry@v4
77+
- uses: Gr1N/setup-poetry@v7
7878

7979
- run: pip install poetry-dynamic-versioning
8080

@@ -106,14 +106,14 @@ jobs:
106106
- run: git describe --tag
107107

108108
- name: Setup Node.js environment
109-
uses: actions/setup-node@v2.1.5
109+
uses: actions/setup-node@v2
110110
with:
111-
node-version: ">=15.5"
111+
node-version: "14"
112112
- uses: actions/setup-python@v2
113113
with:
114114
python-version: "3.9"
115115

116-
- uses: Gr1N/setup-poetry@v4
116+
- uses: Gr1N/setup-poetry@v7
117117

118118
- run: pip install poetry-dynamic-versioning
119119

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL"
132

143
on:
@@ -42,7 +31,7 @@ jobs:
4231
uses: actions/checkout@v2
4332

4433
# Initializes the CodeQL tools for scanning.
45-
- name: Initialize CodeQL
34+
- name: Initialize CodeQL
4635
uses: github/codeql-action/init@v1
4736
with:
4837
languages: ${{ matrix.language }}
@@ -51,6 +40,15 @@ jobs:
5140
# Prefix the list here with "+" to use these queries and those in the config file.
5241
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5342

43+
- name: Set up Python
44+
uses: actions/setup-python@v2
45+
with:
46+
python-version: '3.8'
47+
- uses: Gr1N/setup-poetry@v7
48+
- run: pip install poetry-dynamic-versioning
49+
- run: poetry install
50+
- run: poetry-dynamic-versioning
51+
5452
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5553
# If this step fails, then you should remove it and run the build manually (see below)
5654
- name: Autobuild

0 commit comments

Comments
 (0)