Skip to content

Commit 7f19023

Browse files
committed
Update
1 parent e6d378f commit 7f19023

13 files changed

Lines changed: 54 additions & 52 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,6 @@ jobs:
5858
with:
5959
path: ~/.local/share/virtualenvs
6060
key: ${{ runner.os }}-python-${{ env.python_version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
61-
- name: Install the dependencies
62-
run: |
63-
python -m pip install --upgrade pipenv
64-
mkdir "${RUNNER_TEMP}/bin"
65-
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b "${RUNNER_TEMP}/bin"
66-
chmod +x "${RUNNER_TEMP}/bin/syft"
67-
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b "${RUNNER_TEMP}/bin"
68-
chmod +x "${RUNNER_TEMP}/bin/grype"
69-
echo "${RUNNER_TEMP}/bin" >> "${GITHUB_PATH}"
7061
- name: Install Task
7162
uses: arduino/setup-task@v1
7263
- name: Initialize the repo
@@ -96,8 +87,6 @@ jobs:
9687
with:
9788
path: ~/.local/share/virtualenvs
9889
key: ${{ runner.os }}-python-${{ env.python_version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
99-
- name: Install the dependencies
100-
run: python -m pip install --upgrade pipenv
10190
- name: Install Task
10291
uses: arduino/setup-task@v1
10392
- name: Initialize the repo

.github/workflows/security.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ jobs:
2626
with:
2727
path: ~/.local/share/virtualenvs
2828
key: ${{ runner.os }}-python-${{ env.python_version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
29-
- name: Install the dependencies
30-
run: |
31-
python -m pip install --upgrade pipenv
32-
echo "CODEQL_PYTHON=$(pipenv run which python)" >> "${GITHUB_ENV}"
3329
- name: Install Task
3430
uses: arduino/setup-task@v1
3531
- name: Initialize the repo
3632
run: task -v init
33+
- name: Setup CodeQL
34+
run: echo "CODEQL_PYTHON=$(pipenv run which python)" >> "${GITHUB_ENV}"
3735
- name: Initialize CodeQL
3836
uses: github/codeql-action/init@v2
3937
with:

.github/workflows/update.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ jobs:
3030
with:
3131
path: ~/.local/share/virtualenvs
3232
key: ${{ runner.os }}-python-${{ env.python_version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
33-
- name: Install the dependencies
34-
run: python -m pip install --upgrade pipenv
3533
- name: Install Task
3634
uses: arduino/setup-task@v1
3735
- name: Initialize the repo

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
repos:
33
- repo: https://github.com/seisollc/goat
4-
rev: a8d2863396772ec95330996372dd4e48f2490438 # frozen: v2023.08.22
4+
rev: 6525fcbbea8dacda7c09e20ac8a78c2b763ccaa4 # frozen: v2023.08.26
55
hooks:
66
- id: seiso-lint

Pipfile.lock

Lines changed: 21 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Taskfile.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ tasks:
3333
internal: true
3434
sources:
3535
- Pipfile.lock
36+
preconditions:
37+
- which pipenv || python -m pip install --upgrade pipenv
3638
cmds:
3739
- pipenv install --deploy --ignore-pipfile --dev
3840

{{cookiecutter.project_name|replace(" ", "")}}/.github/workflows/commit.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,6 @@ jobs:
4949
with:
5050
path: ~/.local/share/virtualenvs
5151
key: ${{ "{{ runner.os }}" }}-python-${{ "{{ env.python_version }}" }}-pipenv-${{ "{{ hashFiles('Pipfile.lock') }}" }}
52-
- name: Install the dependencies
53-
run: |
54-
python -m pip install --upgrade pipenv
55-
mkdir "${RUNNER_TEMP}/bin"
56-
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b "${RUNNER_TEMP}/bin"
57-
chmod +x "${RUNNER_TEMP}/bin/syft"
58-
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b "${RUNNER_TEMP}/bin"
59-
chmod +x "${RUNNER_TEMP}/bin/grype"
60-
echo "${RUNNER_TEMP}/bin" >> "${GITHUB_PATH}"
6152
- name: Install Task
6253
uses: arduino/setup-task@v1
6354
- name: Initialize the repo
@@ -118,8 +109,6 @@ jobs:
118109
with:
119110
path: ~/.local/share/virtualenvs
120111
key: ${{ "{{ runner.os }}" }}-python-${{ "{{ env.python_version }}" }}-pipenv-${{ "{{ hashFiles('Pipfile.lock') }}" }}
121-
- name: Install the dependencies
122-
run: python -m pip install --upgrade pipenv
123112
- name: Install Task
124113
uses: arduino/setup-task@v1
125114
- name: Initialize the repo
@@ -169,8 +158,6 @@ jobs:
169158
with:
170159
path: ~/.local/share/virtualenvs
171160
key: ${{ "{{ runner.os }}" }}-python-${{ "{{ env.python_version }}" }}-pipenv-${{ "{{ hashFiles('Pipfile.lock') }}" }}
172-
- name: Install the dependencies
173-
run: python -m pip install --upgrade pipenv
174161
- name: Install Task
175162
uses: arduino/setup-task@v1
176163
- name: Initialize the repo

{{cookiecutter.project_name|replace(" ", "")}}/.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
with:
4040
path: ~/.local/share/virtualenvs
4141
key: ${{ "{{ runner.os }}" }}-python-${{ "{{ env.python_version }}" }}-pipenv-${{ "{{ hashFiles('Pipfile.lock') }}" }}
42-
- name: Install the dependencies
43-
run: python -m pip install --upgrade pipenv
4442
- name: Install Task
4543
uses: arduino/setup-task@v1
4644
- name: Initialize the repo

{{cookiecutter.project_name|replace(" ", "")}}/.github/workflows/security.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,12 @@ jobs:
3636
with:
3737
path: ~/.local/share/virtualenvs
3838
key: ${{ "{{ runner.os }}" }}-python-${{ "{{ env.python_version }}" }}-pipenv-${{ "{{ hashFiles('Pipfile.lock') }}" }}
39-
- name: Install the dependencies
40-
run: |
41-
python -m pip install --upgrade pipenv
42-
echo "CODEQL_PYTHON=$(pipenv run which python)" >> "${GITHUB_ENV}"
4339
- name: Install Task
4440
uses: arduino/setup-task@v1
4541
- name: Initialize the repo
4642
run: task -v init
43+
- name: Setup CodeQL
44+
run: echo "CODEQL_PYTHON=$(pipenv run which python)" >> "${GITHUB_ENV}"
4745
- name: Initialize CodeQL
4846
uses: github/codeql-action/init@v2
4947
with:

0 commit comments

Comments
 (0)