Skip to content

Commit

Permalink
add ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
catatsuy committed Feb 4, 2024
1 parent 84db69b commit b1258ca
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: [push]

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Initialize the project
run: make init

- name: Start the server
run: docker compose up -d

0 comments on commit b1258ca

Please sign in to comment.