Skip to content

Commit

Permalink
Update github workflow actions (#6862)
Browse files Browse the repository at this point in the history
actions/checkout@v4
actions/setup-go@v4
actions/setup-node@v4
  • Loading branch information
nopcoder authored Oct 25, 2023
1 parent cd43eee commit 4bba052
Show file tree
Hide file tree
Showing 18 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-ui-links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check-out
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.17.0"

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20.6"

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/compatibility-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20.6"
id: go

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "18.17.0"

Expand Down Expand Up @@ -68,15 +68,15 @@ jobs:
image_id: ${{ steps.build_export.outputs.ImageID }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.17.0"

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20.6"
id: go
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
SPARK_TAG: 3
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
SPARK_TAG: 3
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish-exp-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This is used to fetch all the history in order to get the latest tag (for step "Extract Version")
fetch-depth: 0

- name: Set up NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.17.0"

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20.6"
id: go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish-lakefs-rclone-export.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract version
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.17.0"

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20.6"
id: go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check-out
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check-out
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check-out
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/esti.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Restore cache
uses: actions/cache@v3
Expand All @@ -43,7 +43,7 @@ jobs:

- name: Setup Go
if: steps.restore-cache.outputs.cache-hit != 'true'
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20.6"
id: go
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
tag: ${{ steps.version.outputs.tag }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Retrieve generated code
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -184,10 +184,10 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.ESTI_AWS_SECRET_ACCESS_KEY }}
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20.6"
id: go
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
tag: ${{ steps.version.outputs.tag }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v3
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
REPO: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Start lakeFS for contract tests
uses: ./.github/actions/bootstrap-test-lakefs
Expand Down Expand Up @@ -321,7 +321,7 @@ jobs:

steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -375,7 +375,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-java@v3
with:
Expand All @@ -397,7 +397,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
SPARK_TAG: ${{ matrix.spark.tag }}
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download lakeFS HadoopFS
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -522,7 +522,7 @@ jobs:

steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Start lakeFS for export tests
uses: ./.github/actions/bootstrap-test-lakefs
Expand Down Expand Up @@ -569,7 +569,7 @@ jobs:
REPO: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate uniquifying value
id: unique
Expand Down Expand Up @@ -627,7 +627,7 @@ jobs:
REPO: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v3
id: restore-cache
Expand Down Expand Up @@ -668,7 +668,7 @@ jobs:
TAG: ${{ needs.deploy-image.outputs.tag }}
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v3
id: restore-cache
Expand Down Expand Up @@ -730,7 +730,7 @@ jobs:
LAKEFS_DATABASE_CONNECTION_STRING: "" # Override lakeFS docker compose settings
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate uniquifying value
id: unique
Expand Down Expand Up @@ -785,7 +785,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate uniquifying value
id: unique
Expand Down Expand Up @@ -838,7 +838,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate uniquifying value
id: unique
Expand Down Expand Up @@ -877,7 +877,7 @@ jobs:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
steps:
- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate uniquifying value
id: unique
Expand Down Expand Up @@ -928,7 +928,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Check-out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate uniquifying value
id: unique
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ${{ matrix.builds.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
needs: [rust-releaser]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -93,12 +93,12 @@ jobs:
mv delta-x86_64-unknown-linux-musl delta-linux-amd64
- name: Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.17.0"

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20.6"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/java-api-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
environment: Treeverse signing
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Extract the version to 'version' based on workflow_dispatch or triggered tag in the published event
- name: Extract version
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
environment: Treeverse signing
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Extract the version to 'version' based on workflow_dispatch or triggered tag in the published event
- name: Extract version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
name: Test React App
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.17.0"
cache: "npm"
Expand Down
Loading

0 comments on commit 4bba052

Please sign in to comment.