Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GH Actions #54

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/test-crystal-shards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
cat ../build-cache-key
- name: Build cache
id: build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./crystal/.build/crystal
Expand All @@ -124,7 +124,7 @@ jobs:
make bin/shards CRYSTAL=../crystal/bin/crystal
bin/shards --version
- name: Artifact (with permissions)
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./test-ecosystem
Expand Down Expand Up @@ -165,19 +165,19 @@ jobs:
container: ubuntu:latest
services:
postgres:
image: postgres:16.1-alpine
image: postgres:16.4-alpine
env:
POSTGRES_HOST_AUTH_METHOD: trust
mysql:
image: mysql:8.2
image: mysql:9.0
env:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
redis:
image: redis:alpine
needs: build
steps:
- name: Artifact (with permissions)
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./test-ecosystem
Expand All @@ -199,11 +199,11 @@ jobs:
./test-ecosystem/scripts/apt-install-crystal-deps.sh
./test-ecosystem/scripts/00-install-bats.sh
- name: Initialize postgres
uses: docker://postgres:16.1-alpine
uses: docker://postgres:16.4-alpine
with:
args: /bin/sh -c "psql -U postgres -h postgres -f ./test-ecosystem/scripts/pg-init.sql"
- name: Initialize mysql
uses: docker://mysql:8.2
uses: docker://mysql:9.0
with:
args: /bin/sh -c "mysql -uroot -h mysql < ./test-ecosystem/scripts/mysql-init.sql"
- name: Configure git
Expand Down
Loading