Skip to content

Commit

Permalink
adjust runners
Browse files Browse the repository at this point in the history
fix user
  • Loading branch information
nikooo777 committed Jan 19, 2024
1 parent d8d1559 commit 5db845c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-20.04 # equivalent to 'dist: focal'
runs-on: ubuntu-22.04

steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
Expand All @@ -29,7 +29,7 @@ jobs:
sudo mysql -u root -proot -e "GRANT ALL ON social.* TO 'commentron-rw'@'localhost';"
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
${{ runner.home }}/go/pkg/mod
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Comments server for Odysee.com
FROM ubuntu:20.04
FROM ubuntu:22.04
LABEL MAINTAINER="beamer"

RUN export DEBIAN_FRONTEND=noninteractive && \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"

services:
mysql:
image: mysql/mysql-server:5.7.31
image: percona:ps-8.0
restart: "no"
expose:
- "3306"
Expand Down
2 changes: 1 addition & 1 deletion sqlboiler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ output="model"
dbname="commentron"
host="localhost"
port=3306
user="commentron"
user="commentron-rw"
pass="commentron"
sslmode="false"

0 comments on commit 5db845c

Please sign in to comment.