deps: update dependency ts-node to v10.9.2 #873
Workflow file for this run
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
on: | |
push: | |
branches: | |
- postgresql-dialect | |
pull_request: | |
workflow_dispatch: | |
name: samples | |
jobs: | |
java-samples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: Run JDBC Sample tests | |
working-directory: ./samples/java/jdbc | |
run: mvn test -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | |
- name: Run Hibernate Sample tests | |
working-directory: ./samples/java/hibernate | |
run: mvn test -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | |
go-samples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.20.7' | |
- run: go version | |
- name: Run gorm Sample tests | |
working-directory: ./samples/golang/gorm | |
run: go test | |
- name: Run pgx Sample tests | |
working-directory: ./samples/golang/pgx | |
run: go test | |
python-samples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- run: python --version | |
- name: Install pip | |
run: python -m pip install --upgrade pip | |
- name: Run psycopg3 Sample tests | |
working-directory: ./samples/python/psycopg3 | |
run: | | |
pip install -r requirements.txt | |
python psycopg3_sample.py | |
- name: Run SQLAlchemy2 Sample tests | |
working-directory: ./samples/python/sqlalchemy2-sample | |
run: | | |
pip install -r requirements.txt | |
python run_sample.py | |
nodejs-samples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: node --version | |
- name: Run Knex Sample tests | |
working-directory: ./samples/nodejs/knex | |
run: | | |
npm install | |
npm start | |
ruby-samples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
- run: ruby --version | |
- name: Run Ruby on Rails ActiveRecord Sample tests | |
working-directory: ./samples/ruby/activerecord | |
run: | | |
bundle install | |
bundle exec rake run |