Skip to content

Commit

Permalink
bump actions to version where node20 is used
Browse files Browse the repository at this point in the history
  • Loading branch information
ljubon committed Mar 13, 2024
1 parent e5a4487 commit db4ff6d
Show file tree
Hide file tree
Showing 14 changed files with 67 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-go-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
using: "composite"
steps:
- id: setup-go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
check-latest: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/airflow-operator-release-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
run-python-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- name: Setup Go
uses: ./.github/actions/setup-go-cache
with:
cache-prefix: run-python-tests
- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: '23.3'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/airflow-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ jobs:
- tox-env: 'py310'
python: '3.10'
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- name: Setup Go
uses: ./.github/actions/setup-go-cache
with:
cache-prefix: airflow-tox
- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: '23.3'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -80,7 +80,7 @@ jobs:
# This variable is picked up by the goreleaser config.
DOCKER_BUILDX_BUILDER: "builder"
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- run: docker buildx create --name ${DOCKER_BUILDX_BUILDER} --driver docker-container --use
- run: docker buildx install

Expand All @@ -97,7 +97,7 @@ jobs:
mkdir -p .kube/external
go run github.com/magefile/[email protected] -v localdev minimal
- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: '23.3'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest-16-cores
if: github.repository_owner == 'armadaproject'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -19,9 +19,9 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- uses: goreleaser/goreleaser-action@v3
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: v1.20.0
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Save Docker image tarballs as artifacts
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: armada-image-tarballs
path: /tmp/imgs
Expand All @@ -52,13 +52,13 @@ jobs:
permissions: {}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Setup the latest .NET 7 SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x

Expand All @@ -69,7 +69,7 @@ jobs:
cache-tools: true

- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: '23.3'
Expand All @@ -84,7 +84,7 @@ jobs:
run: go run github.com/magefile/[email protected] -v packNuget

- name: Save nupkg artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nupkg-artifacts
path: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4
# The ArmadaProject.Io.Client needs the generated proto files
- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: '23.3'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -57,7 +57,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -68,7 +68,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -82,4 +82,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
28 changes: 14 additions & 14 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

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

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.14.2
cache: yarn
Expand All @@ -32,34 +32,34 @@ jobs:
- name: Generating TypeScript lint results as summary
working-directory: ./internal/lookout/ui
run: |
yarn run lint &> lint_results.txt || true
lint_results=$(cat lint_results.txt)
echo -e "## 🪧 Typescript Lint Results\n" >> $GITHUB_STEP_SUMMARY
if [[ $lint_results =~ "problem" ]]; then
echo -e "### List of Lint Issues \n" >> $GITHUB_STEP_SUMMARY
echo -e "${lint_results}" >> $GITHUB_STEP_SUMMARY
echo -e "${lint_results}"
exit 1
else
yarn run lint &> lint_results.txt || true
lint_results=$(cat lint_results.txt)
echo -e "## 🪧 Typescript Lint Results\n" >> $GITHUB_STEP_SUMMARY
if [[ $lint_results =~ "problem" ]]; then
echo -e "### List of Lint Issues \n" >> $GITHUB_STEP_SUMMARY
echo -e "${lint_results}" >> $GITHUB_STEP_SUMMARY
echo -e "${lint_results}"
exit 1
else
echo -e "### No Lint issues found.\n" >> $GITHUB_STEP_SUMMARY
echo -e "No Lint issues found."
exit 0
fi
fi
go-lint:
name: Lint Go
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4

- name: Setup Go
uses: ./.github/actions/setup-go-cache
with:
cache-prefix: go-lint

- name: Lint using golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
skip-pkg-cache: true
skip-build-cache: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4
with:
path: master

- name: Checkout gh-pages branch
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4
with:
ref: 'gh-pages'
path: gh-pages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-client-release-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
run-python-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- name: Setup Go
uses: ./.github/actions/setup-go-cache
with:
cache-prefix: run-python-tests
- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: '23.3'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- tox-env: 'py310'
python: '3.10'
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- name: Setup Go
uses: ./.github/actions/setup-go-cache
with:
Expand All @@ -63,7 +63,7 @@ jobs:
# This variable is picked up by the goreleaser config.
DOCKER_BUILDX_BUILDER: "builder"
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- run: docker buildx create --name ${DOCKER_BUILDX_BUILDER} --driver docker-container --use
- run: docker buildx install

Expand All @@ -80,7 +80,7 @@ jobs:
mkdir -p .kube/external
go run github.com/magefile/[email protected] -v localdev minimal
- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: '23.3'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
# Tox to run tests; build to build the wheel after tests pass
- run: pip install tox==3.27.1 build twine
shell: bash
- name: Install Protoc
uses: arduino/setup-protoc@v2
uses: arduino/setup-protoc@v3
with:
version: '23.3'
repo-token: ${{ inputs.github-token }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v3.3.0"
uses: "actions/checkout@v4"
with:
fetch-depth: 0

Expand All @@ -45,12 +45,12 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v3.3.0"
uses: "actions/checkout@v4"
with:
fetch-depth: 0

- name: "Docker login"
uses: "docker/login-action@v2"
uses: "docker/login-action@v3"
with:
username: "${{ secrets.DOCKERHUB_USER }}"
password: "${{ secrets.DOCKERHUB_PASS }}"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v3.3.0"
uses: "actions/checkout@v4"
with:
fetch-depth: 0

Expand All @@ -45,7 +45,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4
with:
fetch-depth: 0
# Checkout the tag that triggered the workflow.
Expand All @@ -61,10 +61,10 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: "Docker login"
uses: "docker/login-action@v2"
uses: "docker/login-action@v3"
with:
username: "${{ secrets.DOCKERHUB_USER }}"
password: "${{ secrets.DOCKERHUB_PASS }}"
Expand All @@ -80,7 +80,7 @@ jobs:
echo "GORELEASER_PREVIOUS_TAG=$previous_tag" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: v1.19.2
Expand All @@ -105,7 +105,7 @@ jobs:
environment: nuget-release
steps:
- name: Setup the latest .NET 7 SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slack-alerts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'failure'
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- name: "Send Notification"
uses: Mo-Fatah/ci-alerts@v2
env:
Expand Down
Loading

0 comments on commit db4ff6d

Please sign in to comment.