pin gha versions and add dependabot (#492)

This commit is contained in:
Sergejs Kostjucenko
2022-08-25 01:09:21 +03:00
committed by GitHub
parent 09b44ad00f
commit db661a76dc
3 changed files with 20 additions and 14 deletions
+6
View File
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
+12 -12
View File
@@ -25,17 +25,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2.3.4 uses: actions/checkout@v3
- name: Install Rust stable toolchain - name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1.0.7 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- name: Rust Cache - name: Rust Cache
uses: Swatinem/rust-cache@v1.3.0 uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 # v2.0.0
with: with:
working-directory: backend working-directory: backend
@@ -47,10 +47,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2.3.4 uses: actions/checkout@v3
- name: Install Rust stable toolchain - name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1.0.7 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
@@ -58,7 +58,7 @@ jobs:
components: clippy, rustfmt components: clippy, rustfmt
- name: Rust Cache - name: Rust Cache
uses: Swatinem/rust-cache@v1.3.0 uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 # v2.0.0
with: with:
working-directory: backend working-directory: backend
@@ -70,17 +70,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2.3.4 uses: actions/checkout@v3
- name: Install Rust stable toolchain - name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1.0.7 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- name: Rust Cache - name: Rust Cache
uses: Swatinem/rust-cache@v1.3.0 uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 # v2.0.0
with: with:
working-directory: backend working-directory: backend
@@ -92,17 +92,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2.3.4 uses: actions/checkout@v3
- name: Install Rust stable toolchain - name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1.0.7 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- name: Rust Cache - name: Rust Cache
uses: Swatinem/rust-cache@v1.3.0 uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 # v2.0.0
with: with:
working-directory: backend working-directory: backend
+2 -2
View File
@@ -28,10 +28,10 @@ jobs:
node-version: [10.x, 12.x] node-version: [10.x, 12.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}