-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Fix PR template not shou up error, disable action build temporary
- Loading branch information
1 parent
89c2283
commit 11bef78
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: {} | ||
repository_dispatch: {} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2' | ||
- name: Setup cache for Bundler | ||
id: cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
Gemfile.lock | ||
key: ${{ runner.os }}-bundler-${{ hashFiles('Gemfile') }} | ||
restore-keys: | | ||
${{ runner.os }}-bundler- | ||
|
||
- name: Install - Bundler | ||
env: | ||
MAKE: make -j2 | ||
working-directory: ./ | ||
run: | | ||
bundle config set path vendor/bundle | ||
bundle install --jobs=4 --retry=3 | ||
bundle clean |