Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS-4058 Update actions packages #124

Merged
merged 4 commits into from
Feb 5, 2024
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ jobs:
name: Packaging and building the application
steps:
- uses: buildpacks/github-actions/[email protected]
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python
if: ${{inputs.assets_required == true}}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10.x
cache: 'pip'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ jobs:
environment: dev
steps:
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10.x
- name: install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10.x
cache: 'pip'
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10.x
cache: 'pip'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/run-shared-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
TARGET_URL_ASSESSMENT: ${{inputs.e2e_tests_target_url_assessment}}
- name: Upload E2E Test Report Application
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: e2e-test-report-application
path: ./funding-service-design-e2e-checks/results
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
TARGET_URL_ASSESSMENT: ${{inputs.e2e_tests_target_url_assessment}}
- name: Upload Assessment E2E Test Report
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: e2e-test-report-assessment
path: ./funding-service-design-e2e-checks/results
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
token: ${{ steps.generate_token.outputs.token }}

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10.x

Expand All @@ -188,7 +188,7 @@ jobs:
run: ls && source .venv/bin/activate && python -m locust --users ${{inputs.users}} --spawn-rate ${{inputs.spawn-rate}} --run-time ${{inputs.run-time}}

- name: Upload test report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: performance-test-report
Expand All @@ -211,7 +211,7 @@ jobs:
# repository: communitiesuk/funding-service-design-performance-tests
# path: ./funding-service-design-performance-tests
# - name: Set up Python
# uses: actions/setup-python@v2
# uses: actions/setup-python@v5
# with:
# python-version: 3.10.x
# - name: create python env
Expand All @@ -229,7 +229,7 @@ jobs:
# # Runs only the accessibility tests once a dev deployment has been made.
# run: pwd && source .venv/bin/activate && python -m pip install pytest pytest-selenium && python -m pytest -m "accessibility"
# - name: 'Upload Accessibility Testing reports'
# uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v4
# with:
# name: accessibility-test-report
# path: /home/runner/work/funding-service-design-frontend/funding-service-design-frontend/axe_reports/*.html
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-to-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
if: ${{ inputs.build_static_assets }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-postaward-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
environment: ${{ inputs.environment || 'test' }}
steps:
- name: Git clone the repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get current date
id: currentdatetime
Expand Down
Loading