Skip to content

Commit 34962d0

Browse files
committed
check tags, limit permissions
1 parent 1498378 commit 34962d0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/main.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ name: Build and test linkml-runtime
77
on: [pull_request]
88

99
jobs:
10-
test:
1110
strategy:
1211
fail-fast: false
1312
matrix:
@@ -16,6 +15,8 @@ jobs:
1615
exclude:
1716
- os: windows-latest
1817
python-version: "3.8"
18+
permissions:
19+
contents: read
1920

2021
runs-on: ${{ matrix.os }}
2122

@@ -32,6 +33,8 @@ jobs:
3233
#----------------------------------------------
3334
- name: Check out repository
3435
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
36+
with:
37+
fetch-depth: 0
3538

3639
- name: Set up Python ${{ matrix.python-version }}
3740
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
@@ -43,7 +46,9 @@ jobs:
4346
# install your root project, if required
4447
#----------------------------------------------
4548
- name: Install library
46-
run: poetry install --no-interaction
49+
run: |
50+
git tag --list "v1.8*"
51+
poetry install --no-interaction
4752
4853
#----------------------------------------------
4954
# coverage report

0 commit comments

Comments
 (0)