bump actions version (#432)

- bump checkout to @v4
- bump rust-toolchain to @v1
This commit is contained in:
Flori 2023-11-12 17:39:55 +01:00 committed by GitHub
commit e1d82f0632
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ on:
push: push:
branches: [ "main", "dev" ] branches: [ "main", "dev" ]
pull_request: pull_request:
branches: [ "main" ] branches: [ "main", "dev" ]
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Clone spacebar server - name: Clone spacebar server
run: | run: |
git clone https://github.com/bitfl0wer/server.git git clone https://github.com/bitfl0wer/server.git

View File

@ -14,7 +14,7 @@ on:
branches: [ "main", "preserve/*", "dev" ] branches: [ "main", "preserve/*", "dev" ]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ "main" ] branches: [ "main", "dev" ]
jobs: jobs:
rust-clippy-analyze: rust-clippy-analyze:
@ -26,10 +26,10 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: stable toolchain: stable