Skip to content

Commit

Permalink
Update ci actions (#269)
Browse files Browse the repository at this point in the history
* Updated CI actions

* Changelog entry

* Pin towncrier version
  • Loading branch information
Razz4780 authored Aug 12, 2024
1 parent 2ef74d7 commit 6e9047e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
towncrier_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install towncrier
run: pip install towncrier
run: pip install towncrier==23.11.0
- name: verify newsfragment exist
run: towncrier check

lint_markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: avto-dev/markdown-lint@v1
with:
config: "markdownlint-config.json"
Expand All @@ -38,9 +38,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/plugin_verifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
id: version
- name: get custom delve
run: |
Expand All @@ -20,7 +20,7 @@ jobs:
wget https://github.com/metalbear-co/delve/releases/download/1.20.1/delve_darwin_arm64 -O bin/macos/arm64/dlv
wget https://github.com/metalbear-co/delve/releases/download/1.20.1/delve_darwin_amd64 -O bin/macos/x86-64/dlv
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
chmod +x ./gradlew
./gradlew publishPlugin
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: intellij-ext
path: build/distributions/*.zip
Expand All @@ -54,8 +54,8 @@ jobs:
deployments: write
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/download-artifact@v3
uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: /tmp/artifacts
- name: Prepare binaries for upload
Expand All @@ -75,7 +75,7 @@ jobs:
if: github.event_name != 'workflow_dispatch'
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Get complete history
fetch-depth: 0
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/reusable_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
- name: checkout repository
if: ${{ !inputs.mirrord_release_branch }}
uses: actions/checkout@v3
uses: actions/checkout@v4

# mirrord_release_branch boolean when set, means we are on a release branch
# and hence we need to checkout into the last released tag of mirrord-intellij
- name: checkout into mirrord-intellij if mirrord_release_branch
if: ${{ inputs.mirrord_release_branch }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "metalbear-co/mirrord-intellij"

Expand All @@ -45,7 +45,7 @@ jobs:
git checkout tags/$(grep 'pluginVersion =' gradle.properties | cut -d '=' -f 2 | xargs)
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
Expand All @@ -59,7 +59,7 @@ jobs:
# mirrord-artifacts and add it to the path
- name: download mirrord binary
if: ${{ inputs.mirrord_release_branch }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: mirrord-artifacts
- name: add downloaded mirrord to path
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: download image
if: ${{ inputs.mirrord_release_branch }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test
path: /tmp
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
mv video build/reports
- name: Save fails report
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mirrord-plugin-fail-report
path: |
Expand Down
1 change: 1 addition & 0 deletions changelog.d/+updated-ci-actions.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated CI actions to v4.

0 comments on commit 6e9047e

Please sign in to comment.