Skip to content

Bump aws-sdk-s3 from 1.165.0 to 1.166.0 (#555) #1644

Bump aws-sdk-s3 from 1.165.0 to 1.166.0 (#555)

Bump aws-sdk-s3 from 1.165.0 to 1.166.0 (#555) #1644

Workflow file for this run

name: CI
on:
push:
branches-ignore: [main]
permissions:
packages: write
jobs:
standard:
name: Standard
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run Standard
run: bundle exec standardrb
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Install system dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get install sqlite3 libvips
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run tests
run: bin/rails test; bin/rails test:system
env:
RAILS_ENV: test
- name: Keep screenshots from failed system tests
uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
path: ${{ github.workspace }}/tmp/screenshots
if-no-files-found: ignore
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Docker
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Packages
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
tags: ghcr.io/${{ github.repository }}:${{ github.sha }}