Skip to content

Bump nanoid from 3.3.16 to 3.3.18 #1053

Bump nanoid from 3.3.16 to 3.3.18

Bump nanoid from 3.3.16 to 3.3.18 #1053

Workflow file for this run

name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-24.04
name: ${{ matrix.name }}
strategy:
fail-fast: false
max-parallel: 1
matrix:
include:
- name: Lint
command: bin/rails lint
- name: Tests
command: bin/rails test --verbose
- name: System tests
command: bin/rails test:system --verbose
services:
postgres:
image: postgres:18-alpine
env:
POSTGRES_USER: pirep
POSTGRES_DB: pirep_test
POSTGRES_PASSWORD: postgres
ports: ["5432:5432"]
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Packages
run: |
sudo apt-get update && sudo apt-get install --yes \
gdal-bin \
gpg \
lsb-release \
libvips \
python3-gdal
- name: Install Ruby & Gems
uses: ruby/setup-ruby@v1
with:
ruby-version: 4.0.5
bundler-cache: true
- name: Install Golang
uses: actions/setup-go@v5
with:
go-version: ^1 # We don't particularly care about the Go version, but one needs to be specified for $GOBIN to be set (https://github.com/actions/setup-go/issues/49)
- name: Install Terraform
run: |
curl https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor > /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt-get update && sudo apt-get install terraform
go install github.com/shanet/terraform-lexicographical-lint@latest
- name: Install Yarn
uses: actions/setup-node@v4
with:
node-version: latest
cache: yarn
- name: Install Yarn Packages
run: yarn install --pure-lockfile
- name: Build CSS
run: bin/rails dartsass:build
- name: Run ${{ matrix.name }}
run: ${{ matrix.command }}
env:
DATABASE_URL: postgres://pirep:postgres@localhost/pirep_test
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
- name: 'Upload Artifacts'
if: failure()
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }} Failure Artifacts
retention-days: 1
path: |
log/test.log
tmp/screenshots/*.png