[Snyk] Security upgrade ruby from 3.2.1-slim to 3.3.2-slim #383
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
name: Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:13.1-alpine | |
env: | |
POSTGRES_PASSWORD: password | |
ports: | |
- 5432:5432 | |
# needed because the postgres container does not provide a health check | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108 | |
with: | |
ruby-version: '3.1' | |
- name: Source | |
env: | |
TERM: xterm-256color | |
MIN_WIDTH: 80 | |
run: | | |
source init.sh; | |
printf "date.now.with-time.and.zone: [%s]\n" "$(date.now.with-time.and.zone)"; | |
printf " date zone: [%s]\n" "$(date '+%z')"; | |
- name: Test | |
env: | |
TERM: xterm-256color | |
MIN_WIDTH: 80 | |
CI: true | |
run: bin/specs |