Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
git config --global --add safe.directory '*'

- name: Checkout ${{ github.ref }}
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Check for changes in keras/src/applications
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
Expand All @@ -77,7 +77,7 @@ jobs:

- name: Upload Coverage for applications
if: ${{ steps.filter.outputs.applications == 'true' && matrix.nnx_enabled == false }}
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v5
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
with:
env_vars: PYTHON,KERAS_HOME
flags: keras.applications,keras.applications-${{ matrix.backend }}
Expand All @@ -93,7 +93,7 @@ jobs:

- name: Upload Coverage for wrappers
if: ${{ steps.filter.outputs.wrappers == 'true' && matrix.nnx_enabled == false }}
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v5
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
with:
env_vars: PYTHON,KERAS_HOME
flags: keras.wrappers,keras.wrappers-${{ matrix.backend }}
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:

- name: Upload Coverage
if: ${{ matrix.nnx_enabled == false }}
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v5
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
with:
env_vars: PYTHON,KERAS_HOME,KERAS_NNX_ENABLED
flags: keras,keras-cpu,keras-${{ matrix.backend }}${{ matrix.nnx_enabled == 'true' && '-nnx' || '' }}
Expand All @@ -160,7 +160,7 @@ jobs:

steps:
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Set up Python 3.11
uses: actions/setup-python@v6
Expand All @@ -174,7 +174,7 @@ jobs:
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: pip cache
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('requirements.txt') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-assignment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: actions/github-script@v9
with:
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gemini-automated-issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
return issue;

- name: 'Checkout'
uses: 'actions/checkout@v6'
uses: 'actions/checkout@v7'

- name: 'Get Repository Labels'
id: 'get_labels'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gpu_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

steps:
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Check CUDA Version
run: nvidia-smi
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
run: coverage xml --omit='keras/src/applications/*,keras/api' -o core-coverage.xml

- name: Upload Coverage
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v5
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
with:
env_vars: KERAS_HOME
flags: keras,keras-gpu,keras-${{ matrix.backend }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
add_labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: actions/github-script@v9
with:
script: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
PYTHON: ${{ matrix.python-version }}
KERAS_BACKEND: ${{ matrix.backend }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
Expand All @@ -32,7 +32,7 @@ jobs:
python -m pip install --upgrade pip setuptools
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('requirements.txt') }}
Expand All @@ -58,7 +58,7 @@ jobs:
name: Check the code format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
Expand All @@ -69,7 +69,7 @@ jobs:
python -m pip install --upgrade pip setuptools
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('requirements.txt') }}
Expand All @@ -83,7 +83,7 @@ jobs:
needs: [build, format]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
persist-credentials: false

Expand Down Expand Up @@ -56,6 +56,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3.29.5
uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3.29.5
with:
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions .github/workflows/tpu_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

steps:
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Install binary dependencies
# curl, git, gpg are for codecov/codecov-action
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
run: coverage xml --omit='keras/src/applications/*,keras/api' -o core-coverage.xml

- name: Upload Coverage
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v5
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
with:
env_vars: KERAS_HOME
flags: keras,keras-tpu,keras-${{ matrix.backend }}${{ matrix.multi_device == 'true' && '-multi' || '' }}
Expand Down
Loading