-
Notifications
You must be signed in to change notification settings - Fork 12
47 lines (38 loc) · 1.63 KB
/
Copy pathupstream.yml
File metadata and controls
47 lines (38 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Check for upstream releases
on:
schedule:
- cron: '00 16 * * *'
workflow_dispatch: {}
permissions:
contents: write
pull-requests: write
jobs:
check:
name: Check for upstream releases
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
with:
components: clippy, rustfmt
target: wasm32-unknown-unknown
- name: Install Cargo Binary Install
uses: cargo-bins/cargo-binstall@732870f031d2fb36309d0deaf36abcc704a7be65 # v1.20.1
- name: Install crates
run: cargo binstall --force -y dioxus-cli@0.7.9 leptosfmt@0.1.33 yew-fmt@0.6.3
- name: Check for upstream releases
run: cargo run -p scripts --bin upstream
env:
GITHUB_ACTOR: rust-for-web[bot]
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
GIT_USER_NAME: rust-for-web[bot]
GIT_USER_EMAIL: 191031261+rust-for-web[bot]@users.noreply.github.com
RUST_LOG: upstream=info