Skip to content

Commit

Permalink
ci: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmlnc committed Nov 8, 2023
1 parent a0e56d0 commit 3974a32
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 23 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ name: Benchmark

on:
push:
branches:
- master
- releases/*
branches: ['master', 'releases/*']
pull_request:
branches:
- '*'
branches: ['*']

jobs:
product:
Expand All @@ -18,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
Expand Down Expand Up @@ -51,9 +48,9 @@ jobs:
BENCHMARK_OPTIONS: ${{ matrix.benchmark_options }}
steps:
- name: Setup repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@ name: "CodeQL"

on:
push:
branches:
- master
- "!dependabot/**"
branches: ['master']
pull_request:
branches:
- master
- "!dependabot/**"
branches: ['master']
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
Expand All @@ -27,7 +23,7 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ name: CI

on:
push:
branches:
- master
- releases/*
branches: ['master', 'releases/*']
pull_request:
branches:
- '*'
branches: ['*']

env:
SNAPSHOT_SKIP_PRUNING: 1
Expand All @@ -29,9 +26,9 @@ jobs:
- windows-latest
steps:
- name: Setup repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: Install dependencies
Expand Down

0 comments on commit 3974a32

Please sign in to comment.