Skip to content

Commit 588cddc

Browse files
authored
Merge pull request #3 from ycharts/github-actions-commit-hashes
use commit hashes instead of tags for action versions
2 parents c5e4a91 + 2348581 commit 588cddc

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.github/workflows/codecov.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
os: [ubuntu-latest, macos-latest, windows-latest]
1717
python-version: ["3.11"]
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
cache: 'pip'
@@ -30,7 +30,7 @@ jobs:
3030
pip install pytest pytest-cov
3131
pytest --cov=./ --cov-report=xml
3232
- name: Upload coverage to Codecov
33-
uses: codecov/codecov-action@v3
33+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
3434
with:
3535
files: ./coverage.xml
36-
fail_ci_if_error: true
36+
fail_ci_if_error: true

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
- os: macos-latest
2424
python-version: "3.7"
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
cache: 'pip'
@@ -44,4 +44,4 @@ jobs:
4444
black --check --diff .
4545
- name: Check with flake8
4646
run: |
47-
flake8 --show-source --statistics .
47+
flake8 --show-source --statistics .

renovate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>ycharts/ycharts_systems:renovate-default.json5"
5+
],
6+
"enabledManagers": ["github-actions"]
7+
}

0 commit comments

Comments
 (0)