Skip to content

Commit

Permalink
Update: Use configure for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Apr 17, 2024
1 parent b0c4b02 commit df1e807
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 180 deletions.
42 changes: 0 additions & 42 deletions .env.build

This file was deleted.

42 changes: 0 additions & 42 deletions .env.example

This file was deleted.

44 changes: 0 additions & 44 deletions .env.prod.example

This file was deleted.

43 changes: 0 additions & 43 deletions .env.test

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/backend-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get ruby version
id: ruby-version
run: |
Expand All @@ -21,6 +21,10 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ steps.ruby-version.outputs.RUBY_VERSION }}
- name: Setup .env
run: |
cp ./config.dev.yml ./config.yml
rake configure
# - name: Cache gems
# uses: actions/cache@v3
# id: cache-gems
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/frontend-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Setup .env
run: |
cp ./config.dev.yml ./config.yml
rake configure
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.1
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: frontend/.node-version
cache: "pnpm"
Expand All @@ -27,7 +35,6 @@ jobs:
- name: Run frontend lint
working-directory: ./frontend
run: |
cp ../.env.example .env
pnpm i
pnpm lint
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/sub-audio-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Copy .env
run: cp .env.example .env
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Setup .env
run: |
cp ./config.dev.yml ./config.yml
rake configure
- name: Setup python
uses: actions/setup-python@v4
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/sub-chart-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Setup .env
run: |
cp ./config.dev.yml ./config.yml
rake configure
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/sub-image-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ jobs:
working-directory: ./sub-image
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Setup .env
run: |
cp ./config.dev.yml ./config.yml
rake configure
- name: Setup rust
run: |
rustup component add clippy
Expand Down

0 comments on commit df1e807

Please sign in to comment.