Skip to content

build(deps): bump actions/configure-pages from 5 to 6 #187

build(deps): bump actions/configure-pages from 5 to 6

build(deps): bump actions/configure-pages from 5 to 6 #187

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
workflow_dispatch: # Allows manual triggering
permissions:
contents: read
jobs:
# Build job for Jekyll site
build-pages-site:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
working-directory: github-pages-site
- name: Install dependencies
run: |
cd github-pages-site
bundle install
- name: Build with Jekyll
run: |
cd github-pages-site
bundle exec jekyll build
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Generate build info & environment
run: ./build.bash --use-cache --skip-docker # Dry run (no docker build)
- name: Build Docker image with Buildx cache
uses: docker/build-push-action@v5
with:
context: .
file: .devcontainer/Dockerfile
load: true
tags: infinibot:latest
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run tests
run: ./run_tests.bash --skip-build --run-all --retry-once-on-failure
- name: Check test exit code
run: |
# The exit code will be propagated from the run_tests.bash script
# If the Python tests pass, they exit with 0, and the script exits with 0
# If the Python tests fail, they exit with 1, and the script exits with 1
# GitHub Actions automatically marks the step as failed if the exit code is non-zero
echo "Tests completed"