Skip to content

Commit f4d35c4

Browse files
authored
update GH Action versions (#116)
1 parent 96cf74f commit f4d35c4

10 files changed

Lines changed: 151 additions & 155 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-22.04
2525
steps:
2626
- name: Checkout the repository
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
- name: Run the goat
2929
uses: seisollc/goat@main
3030
with:
@@ -36,25 +36,25 @@ jobs:
3636
runs-on: ubuntu-22.04
3737
steps:
3838
- name: Checkout the repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
# Necessary for hooks to succeed during tests for commits/schedule
4141
if: github.event_name != 'push_request'
4242
with:
4343
fetch-depth: 0
4444
submodules: 'true'
4545
- name: Checkout the repository
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
# Necessary for hooks to succeed during tests for PRs
4848
if: github.event_name == 'pull_request'
4949
with:
5050
ref: ${{ github.event.pull_request.head.ref }}
5151
fetch-depth: 0
5252
submodules: 'true'
5353
- name: Setup python
54-
uses: actions/setup-python@v4
54+
uses: actions/setup-python@v5
5555
with:
5656
python-version: ${{ env.python_version }}
57-
- uses: actions/cache@v3
57+
- uses: actions/cache@v4
5858
with:
5959
path: ~/.local/share/virtualenvs
6060
key: ${{ runner.os }}-python-${{ env.python_version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
@@ -68,7 +68,7 @@ jobs:
6868
chmod +x "${RUNNER_TEMP}/bin/grype"
6969
echo "${RUNNER_TEMP}/bin" >> "${GITHUB_PATH}"
7070
- name: Install Task
71-
uses: arduino/setup-task@v1
71+
uses: arduino/setup-task@v2
7272
- name: Initialize the repo
7373
run: task -v init
7474
- name: Validate the repo
@@ -84,22 +84,22 @@ jobs:
8484
runs-on: ubuntu-22.04
8585
steps:
8686
- name: Checkout the repository
87-
uses: actions/checkout@v3
87+
uses: actions/checkout@v4
8888
with:
8989
token: ${{ secrets.SEISO_AUTOMATION_PAT }}
9090
fetch-depth: 0
9191
- name: Setup python
92-
uses: actions/setup-python@v4
92+
uses: actions/setup-python@v5
9393
with:
9494
python-version: ${{ env.python_version }}
95-
- uses: actions/cache@v3
95+
- uses: actions/cache@v4
9696
with:
9797
path: ~/.local/share/virtualenvs
9898
key: ${{ runner.os }}-python-${{ env.python_version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
9999
- name: Install the dependencies
100100
run: python -m pip install --upgrade pipenv
101101
- name: Install Task
102-
uses: arduino/setup-task@v1
102+
uses: arduino/setup-task@v2
103103
- name: Initialize the repo
104104
run: task -v init
105105
- name: Bump the version
@@ -111,7 +111,7 @@ jobs:
111111
git push --atomic origin "${BRANCH}" "${TAG}"
112112
echo "tag=${TAG}" >> "${GITHUB_OUTPUT}"
113113
- name: Publish the release to GitHub
114-
uses: softprops/action-gh-release@v1
114+
uses: softprops/action-gh-release@v2
115115
env:
116116
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117117
with:

.github/workflows/security.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout the repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
- name: Setup python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ env.python_version }}
25-
- uses: actions/cache@v3
25+
- uses: actions/cache@v4
2626
with:
2727
path: ~/.local/share/virtualenvs
2828
key: ${{ runner.os }}-python-${{ env.python_version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
@@ -31,12 +31,12 @@ jobs:
3131
python -m pip install --upgrade pipenv
3232
echo "CODEQL_PYTHON=$(pipenv run which python)" >> "${GITHUB_ENV}"
3333
- name: Install Task
34-
uses: arduino/setup-task@v1
34+
uses: arduino/setup-task@v2
3535
- name: Initialize the repo
3636
run: task -v init
3737
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@v2
38+
uses: github/codeql-action/init@v3
3939
with:
4040
setup-python-dependencies: false
4141
- name: Perform CodeQL Analysis
42-
uses: github/codeql-action/analyze@v2
42+
uses: github/codeql-action/analyze@v3

.github/workflows/update.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ jobs:
2222
pull-requests: write
2323
steps:
2424
- name: Checkout the repository
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- uses: actions/setup-python@v4
2727
with:
2828
python-version: ${{ env.python_version }}
29-
- uses: actions/cache@v3
29+
- uses: actions/cache@v4
3030
with:
3131
path: ~/.local/share/virtualenvs
3232
key: ${{ runner.os }}-python-${{ env.python_version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
3333
- name: Install the dependencies
3434
run: python -m pip install --upgrade pipenv
3535
- name: Install Task
36-
uses: arduino/setup-task@v1
36+
uses: arduino/setup-task@v2
3737
- name: Initialize the repo
3838
run: task -v init
3939
- name: Update the repository
4040
run: task -v update
4141
- name: Create or update a pull request
42-
uses: peter-evans/create-pull-request@v4
42+
uses: peter-evans/create-pull-request@v6
4343
with:
4444
title: Automated update to primary components
4545
commit-message: Automated update to primary components

.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: 4ac33e8fab47ced142fb708e94530257b7c3b13d # frozen: v2024.04.04
4+
rev: aaca59f98995651447f16527e154ffe92755c568 # frozen: v2024.06.02
55
hooks:
66
- id: seiso-lint

0 commit comments

Comments
 (0)