mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-10-03 18:23:34 +10:00
Update actions (#483)
* Update actions/checkout consistently to v7 * Update pnpm/action-setup to v6 With pnpm v11 this could and should be replaced with pnpm/setup, I guess. * Update actions/setup-node consistently to v7 * Update actions/configure-pages to v6 It looks like this should be non-critical, it mainly includes a runtime upgrade to Node 24 as far as I could see that. * Update actions/cache to v6 * Update docker/metadata-action to v6 I think this is also non-critical and mainly a runtime bump. * Update docker/login-action to v4 Should also be just the node version bump. * Update docker/setup-buildx-action to v4 * Update docker/setup-qemu-action to v4 * Update docker/build-push-action to v7 * Update actions/upload-artifact to v7 * Update actions/download-artifact to v8 This is quite a jump and I'm not very familiar with this action. But the changelogs looked more or less not critical, there was only a thing about downloading single artifacts by id in v5, but I think the "No Action Needed If" applies.
This commit is contained in:
@@ -2,9 +2,9 @@ name: Build Test Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, next ]
|
||||
branches: [main, next]
|
||||
pull_request:
|
||||
branches: [ main, next ]
|
||||
branches: [main, next]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
toolchain: [stable]
|
||||
steps:
|
||||
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||
- uses: actions/checkout@v7
|
||||
- name: Setup Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
- uses: extractions/setup-just@v3
|
||||
- uses: hustcer/setup-nu@v3.23
|
||||
with:
|
||||
version: '0.105.1'
|
||||
version: "0.105.1"
|
||||
- name: Just version
|
||||
run: just --version
|
||||
- name: Build
|
||||
@@ -42,15 +42,15 @@ jobs:
|
||||
packages: write
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
ref: main
|
||||
fetch-depth: 0
|
||||
|
||||
- name: install npm
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: "20"
|
||||
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v4
|
||||
@@ -63,4 +63,4 @@ jobs:
|
||||
@semantic-release/github
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }}
|
||||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
||||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
||||
|
||||
@@ -2,11 +2,11 @@ name: Clippy Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [ main, next ]
|
||||
branches: [main, next]
|
||||
schedule:
|
||||
- cron: '0 23 * * 4'
|
||||
- cron: "0 23 * * 4"
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: full
|
||||
@@ -15,16 +15,16 @@ jobs:
|
||||
clippy_check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- name: Setup Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- uses: extractions/setup-just@v3
|
||||
- uses: hustcer/setup-nu@v3.23
|
||||
with:
|
||||
version: '0.105.1'
|
||||
version: "0.105.1"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }}
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }}
|
||||
- name: Just version
|
||||
run: just --version
|
||||
- name: Clippy Check
|
||||
run: just clippy_check
|
||||
run: just clippy_check
|
||||
|
||||
@@ -2,12 +2,12 @@ name: Conventional Commits
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Conventional Commits
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||
- uses: webiny/action-conventional-commits@v1.3.1
|
||||
- uses: actions/checkout@v7
|
||||
- uses: webiny/action-conventional-commits@v1.3.1
|
||||
|
||||
+7
-7
@@ -2,11 +2,11 @@ name: Fmt Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [ main, next ]
|
||||
branches: [main, next]
|
||||
schedule:
|
||||
- cron: '0 23 * * 4'
|
||||
- cron: "0 23 * * 4"
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: full
|
||||
@@ -15,16 +15,16 @@ jobs:
|
||||
fmt_check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- name: Setup Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- uses: extractions/setup-just@v3
|
||||
- uses: hustcer/setup-nu@v3.23
|
||||
with:
|
||||
version: '0.105.1'
|
||||
version: "0.105.1"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }}
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }}
|
||||
- name: Just version
|
||||
run: just --version
|
||||
- name: Fmt Check
|
||||
run: just fmt_check
|
||||
run: just fmt_check
|
||||
|
||||
Reference in New Issue
Block a user