Skip to content

Commit 6c9d69c

Browse files
chore: sync repo
1 parent 46fce78 commit 6c9d69c

File tree

832 files changed

+21130
-1638561
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

832 files changed

+21130
-1638561
lines changed

.dockerignore

Lines changed: 0 additions & 19 deletions
This file was deleted.

.gitattributes

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,42 @@
11
name: CI
2-
3-
on: [push]
2+
on:
3+
push:
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
410

511
jobs:
6-
verify:
7-
name: Build
8-
runs-on: ubuntu-latest
12+
lint:
13+
timeout-minutes: 10
14+
name: lint
15+
runs-on: ${{ github.repository == 'stainless-sdks/packages-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
916

10-
services:
11-
postgres:
12-
image: postgres:14
13-
env:
14-
POSTGRES_USER: packages
15-
POSTGRES_DB: packages_test
16-
POSTGRES_PASSWORD: postgres
17-
ports: ["5432:5432"]
18-
options: >-
19-
--health-cmd pg_isready
20-
--health-interval 10s
21-
--health-timeout 5s
22-
--health-retries 5
23-
redis:
24-
image: redis
25-
ports:
26-
- 6379:6379
27-
options: --entrypoint redis-server
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
bundler-cache: false
23+
- run: |-
24+
bundle install
2825
26+
- name: Run lints
27+
run: ./scripts/lint
28+
test:
29+
timeout-minutes: 10
30+
name: test
31+
runs-on: ${{ github.repository == 'stainless-sdks/packages-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2932
steps:
3033
- uses: actions/checkout@v4
31-
- name: Install dependent libraries
32-
run: sudo apt-get install libpq-dev
3334
- name: Set up Ruby
3435
uses: ruby/setup-ruby@v1
3536
with:
36-
bundler-cache: true
37+
bundler-cache: false
38+
- run: |-
39+
bundle install
3740
3841
- name: Run tests
39-
env:
40-
RAILS_ENV: test
41-
POSTGRES_DB: packages_test
42-
POSTGRES_USER: packages
43-
POSTGRES_PASSWORD: postgres
44-
POSTGRES_HOST: localhost
45-
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
46-
run: bundle exec rake db:schema:load test
42+
run: ./scripts/test

.github/workflows/upgrade-ruby.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.gitignore

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,10 @@
1-
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2-
#
3-
# If you find yourself ignoring temporary files generated by your text editor
4-
# or operating system, you probably want to add a global ignore instead:
5-
# git config --global core.excludesfile '~/.gitignore_global'
6-
7-
# Ignore bundler config.
8-
/.bundle
9-
10-
# Ignore all logfiles and tempfiles.
11-
/log/*
12-
/tmp/*
13-
!/log/.keep
14-
!/tmp/.keep
15-
16-
# Ignore pidfiles, but keep the directory.
17-
/tmp/pids/*
18-
!/tmp/pids/
19-
!/tmp/pids/.keep
20-
21-
# Ignore uploaded files in development.
22-
/storage/*
23-
!/storage/.keep
24-
/tmp/storage/*
25-
!/tmp/storage/
26-
!/tmp/storage/.keep
27-
28-
/public/assets
29-
/public/sitemap
30-
31-
# Ignore master key for decrypting credentials and more.
32-
/config/master.key
33-
34-
.env
35-
36-
# Ignore generated files
37-
*.csv
38-
data/*
1+
*.gem
2+
.idea/
3+
.ignore
4+
.prism.log
5+
.ruby-lsp/
6+
.yardoc/
7+
bin/tapioca
8+
Brewfile.lock.json
9+
doc/
10+
sorbet/tapioca/*

0 commit comments

Comments
 (0)