Skip to content

deps: update golang docker tag to v1.23.3 #1685

deps: update golang docker tag to v1.23.3

deps: update golang docker tag to v1.23.3 #1685

Workflow file for this run

on:
push:
branches:
- postgresql-dialect
pull_request:
workflow_dispatch:
name: snippets
jobs:
psql-snippets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Install postgresql-client-14"
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-client-14
- name: Run psql snippets
working-directory: ./samples/snippets/psql-snippets/tests
run: ./test_samples.sh
java-snippets:
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 Java Snippets
working-directory: ./samples/snippets/java-snippets
run: mvn test -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
go-snippets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Run Go snippets
working-directory: ./samples/snippets/golang-snippets
run: go test
python-snippets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python --version
- name: Install pip
run: python -m pip install --upgrade pip
- name: Run Python snippets
working-directory: ./samples/snippets/python-snippets
run: |
pip install -r requirements.txt
python -m unittest
nodejs-snippets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: node --version
- name: Run Node.js snippets
working-directory: ./samples/snippets/nodejs-snippets
run: |
npm install
npm test
dotnet-snippets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- run: node --version
- name: Run dotnet snippets
working-directory: ./samples/snippets/dotnet-snippets
run: dotnet test