mirror of
https://github.com/actix/actix-website
synced 2025-09-02 09:36:40 +02:00
chore: Pin actions to a full SHA (#636)
* chore: Upgrade Node.js version * Setup pinact * Pin Actions
This commit is contained in:
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@@ -1,3 +1,3 @@
|
|||||||
# These are supported funding model platforms
|
# These are supported funding model platforms
|
||||||
|
|
||||||
github: [robjtede]
|
github: [robjtede, JohnTitor]
|
||||||
|
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@@ -9,6 +9,6 @@ updates:
|
|||||||
schedule:
|
schedule:
|
||||||
interval: monthly
|
interval: monthly
|
||||||
groups:
|
groups:
|
||||||
shuttle:
|
shuttle:
|
||||||
patterns:
|
patterns:
|
||||||
- shuttle-*
|
- shuttle-*
|
||||||
|
6
.github/workflows/examples.yml
vendored
6
.github/workflows/examples.yml
vendored
@@ -17,13 +17,13 @@ jobs:
|
|||||||
# required packages
|
# required packages
|
||||||
- run: sudo apt install sqlite3
|
- run: sudo apt install sqlite3
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
|
||||||
- name: Install Rust
|
- 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
|
- name: Install just
|
||||||
uses: taiki-e/install-action@v2.57.4
|
uses: taiki-e/install-action@e8c1cf74a696e981aec979a6703471e61b400895 # v2.57.4
|
||||||
with:
|
with:
|
||||||
tool: just
|
tool: just
|
||||||
|
|
||||||
|
6
.github/workflows/website.yml
vendored
6
.github/workflows/website.yml
vendored
@@ -13,11 +13,11 @@ jobs:
|
|||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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:
|
with:
|
||||||
node-version: 18.x
|
node-version-file: .tool-versions
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
1
.tool-versions
Normal file
1
.tool-versions
Normal file
@@ -0,0 +1 @@
|
|||||||
|
node 22.18.0
|
@@ -3,7 +3,7 @@ use actix_web::{web, App, HttpResponse, HttpServer};
|
|||||||
|
|
||||||
#[actix_web::main]
|
#[actix_web::main]
|
||||||
async fn 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
|
// <- Start 4 workers
|
||||||
}
|
}
|
||||||
// </workers>
|
// </workers>
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@@ -32,7 +32,7 @@
|
|||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0"
|
"node": ">=22.18.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@algolia/autocomplete-core": {
|
"node_modules/@algolia/autocomplete-core": {
|
||||||
@@ -16628,4 +16628,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -50,6 +50,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0"
|
"node": ">=22.18.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user