1
0
mirror of https://github.com/actix/actix-website synced 2025-08-31 08:57:01 +02:00

chore: Pin actions to a full SHA (#636)

* chore: Upgrade Node.js version

* Setup pinact

* Pin Actions
This commit is contained in:
Yuki Okushi
2025-08-22 16:14:44 +09:00
committed by GitHub
parent de1b296c62
commit 6c06be5463
9 changed files with 14 additions and 14 deletions

2
.github/FUNDING.yml vendored
View File

@@ -1,3 +1,3 @@
# These are supported funding model platforms
github: [robjtede]
github: [robjtede, JohnTitor]

View File

@@ -9,6 +9,6 @@ updates:
schedule:
interval: monthly
groups:
shuttle:
shuttle:
patterns:
- shuttle-*

View File

@@ -17,13 +17,13 @@ jobs:
# required packages
- run: sudo apt install sqlite3
- uses: actions/checkout@v4
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1.13.0
uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 # v1.13.0
- name: Install just
uses: taiki-e/install-action@v2.57.4
uses: taiki-e/install-action@e8c1cf74a696e981aec979a6703471e61b400895 # v2.57.4
with:
tool: just

View File

@@ -13,11 +13,11 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- uses: actions/setup-node@v4.4.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 18.x
node-version-file: .tool-versions
cache: npm
- name: Install dependencies

1
.nvmrc
View File

@@ -1 +0,0 @@
18

1
.tool-versions Normal file
View File

@@ -0,0 +1 @@
node 22.18.0

View File

@@ -3,7 +3,7 @@ use actix_web::{web, App, HttpResponse, HttpServer};
#[actix_web::main]
async fn main() {
HttpServer::new(|| App::new().route("/", web::get().to(HttpResponse::Ok))).workers(4);
let _ = HttpServer::new(|| App::new().route("/", web::get().to(HttpResponse::Ok))).workers(4);
// <- Start 4 workers
}
// </workers>

4
package-lock.json generated
View File

@@ -32,7 +32,7 @@
"typescript": "^5.4.5"
},
"engines": {
"node": ">=18.0.0"
"node": ">=22.18.0"
}
},
"node_modules/@algolia/autocomplete-core": {
@@ -16628,4 +16628,4 @@
}
}
}
}
}

View File

@@ -50,6 +50,6 @@
]
},
"engines": {
"node": ">=18.0.0"
"node": ">=22.18.0"
}
}
}