File tree Expand file tree Collapse file tree 7 files changed +7
-6
lines changed
Expand file tree Collapse file tree 7 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1616 if : github.event.repository.private == false
1717 permissions :
1818 contents : read
19- uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-dependency-review.yml@0d59d3a7407f3ec42b740107f1f25aee8f3e5949c # v1.1.1
19+ uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-dependency-review.yml@c0076a66e3fa2e53de1fed7b8f17fdfac69d0056 # v1.2.0
Original file line number Diff line number Diff line change 1313 permissions :
1414 contents : read
1515 id-token : write
16- uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-release-container.yml@d59d3a7407f3ec42b740107f1f25aee8f3e5949c # v1.1.1
16+ uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-release-container.yml@c0076a66e3fa2e53de1fed7b8f17fdfac69d0056 # v1.2.0
Original file line number Diff line number Diff line change 1313 permissions :
1414 contents : read
1515 pull-requests : write
16- uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-scan-container.yml@0d59d3a7407f3ec42b740107f1f25aee8f3e5949c # v1.1.1
16+ uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-scan-container.yml@c0076a66e3fa2e53de1fed7b8f17fdfac69d0056 # v1.2.0
1717 with :
1818 runtime : python
Original file line number Diff line number Diff line change 1313 permissions :
1414 contents : read
1515 pull-requests : write
16- uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-test-container.yml@0d59d3a7407f3ec42b740107f1f25aee8f3e5949c # v1.1.1
16+ uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-test-container.yml@c0076a66e3fa2e53de1fed7b8f17fdfac69d0056 # v1.2.0
Original file line number Diff line number Diff line change 11FROM ghcr.io/ministryofjustice/analytical-platform-airflow-python-base:1.5.0
22
3- COPY src/ .
3+ COPY requirements.txt requirements.txt
4+ COPY src/main.py main.py
45RUN <<EOF
56pip install --no-cache-dir --requirement requirements.txt
67EOF
File renamed without changes.
Original file line number Diff line number Diff line change @@ -35,4 +35,4 @@ def benchmark(device):
3535# Benchmark on CPU
3636print ("Benchmarking CPU" )
3737cpu_time = benchmark ('/CPU:0' )
38- print (f"CPU training time: { cpu_time :.2f} seconds" )
38+ print (f"CPU training time: { cpu_time :.2f} seconds" )
You can’t perform that action at this time.
0 commit comments