Skip to content

Commit

Permalink
Update actions versions (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
berroar authored Jul 9, 2024
1 parent 1e389b7 commit 02d7d86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
docker-push:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build
run: docker build -t onsdigital/eq-questionnaire-launcher:latest .
- name: Push
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
cache: false
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -38,7 +39,7 @@ jobs:
uses: golangci/golangci-lint-action@v4
with:
version: v1.57
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand All @@ -49,7 +50,7 @@ jobs:
with:
version: 1.8.2
virtualenvs-create: true
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'poetry'
Expand All @@ -64,7 +65,7 @@ jobs:
docker-push:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Tag
run: |
CLEAN_TAG=$(echo "${{ github.event.pull_request.head.ref }}" | tr / -)
Expand Down

0 comments on commit 02d7d86

Please sign in to comment.