diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12215c1f..947bfb8d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: jobs: build: - uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 + uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0 with: upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }} secrets: diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index ae073270..4a0aed1b 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: retrieve_cache: - uses: spacetelescope/webbpsf/.github/workflows/retrieve_cache.yml@develop + uses: spacetelescope/webbpsf/.github/workflows/retrieve_cache.yml@beda656c80a0254e6f80649d9c9c49235634522f # v1.4.0 with: minimal: true tests: @@ -49,12 +49,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v5 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 with: python-version: ${{ matrix.python }} @@ -62,7 +62,7 @@ jobs: run: pip install tox tox-conda>=0.2 - name: Get WebbPSF Data - uses: actions/cache/restore@v4 + uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ${{ needs.retrieve_cache.outputs.cache_path }} key: ${{ needs.retrieve_cache.outputs.cache_key }} @@ -90,6 +90,6 @@ jobs: - name: Upload coverage to codecov if: ${{ contains(matrix.toxenv,'-cov') }} - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 with: file: ./coverage.xml diff --git a/.github/workflows/download_data.yml b/.github/workflows/download_data.yml index 1ef00359..9802d8ce 100644 --- a/.github/workflows/download_data.yml +++ b/.github/workflows/download_data.yml @@ -18,7 +18,7 @@ # - cron: "0 0 * * 0" # jobs: # download_webbpsf: -# uses: spacetelescope/webbpsf/.github/workflows/download_data.yml@develop +# uses: spacetelescope/webbpsf/.github/workflows/download_data.yml@beda656c80a0254e6f80649d9c9c49235634522f # v1.4.0 # with: # minimal: true @@ -81,7 +81,7 @@ jobs: run: echo "version=$(cat ${{ steps.cache_path.outputs.cache_path }}/webbpsf-data/version.txt)" >> $GITHUB_OUTPUT - id: cache_key run: echo "cache_key=webbpsf-data-${{ (github.event_name == 'schedule' || github.event_name == 'release') && 'mini' || inputs.minimal && 'mini' || 'full' }}-${{ steps.version.outputs.version }}" >> $GITHUB_OUTPUT - - uses: actions/cache/save@v4 + - uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ${{ runner.temp }}/data/ key: ${{ steps.cache_key.outputs.cache_key }} diff --git a/.github/workflows/retrieve_cache.yml b/.github/workflows/retrieve_cache.yml index aab0fc77..1dc0efee 100644 --- a/.github/workflows/retrieve_cache.yml +++ b/.github/workflows/retrieve_cache.yml @@ -13,7 +13,7 @@ # ... # jobs: # webbpsf_data_cache_key: -# uses: spacetelescope/webbpsf/.github/workflows/retrieve_cache.yml@develop +# uses: spacetelescope/webbpsf/.github/workflows/retrieve_cache.yml@beda656c80a0254e6f80649d9c9c49235634522f # v1.4.0 # with: # minimal: true # tests: @@ -21,7 +21,7 @@ # steps: # ... # - name: retrieve WebbPSF data cache -# uses: actions/cache/restore@v4 +# uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 # with: # path: ${{ runner.temp }}/webbpsf-data # key: ${{ needs.webbpsf_data_cache_key.outputs.cache_key }}