|
7 | 7 | name: Check
|
8 | 8 | strategy:
|
9 | 9 | matrix:
|
10 |
| - rust: ["1.38.0", "stable", "beta", "nightly"] |
| 10 | + rust: ["1.42.0", "stable", "beta", "nightly"] |
11 | 11 | backend: ["postgres", "sqlite"]
|
12 | 12 | os: [ubuntu-18.04, macos-latest, windows-latest]
|
13 | 13 | runs-on: ${{ matrix.os }}
|
@@ -58,12 +58,11 @@ jobs:
|
58 | 58 | brew update
|
59 | 59 | brew uninstall --ignore-dependencies libpq
|
60 | 60 | brew install postgres
|
61 |
| - /usr/local/Cellar/postgresql/12.2/bin/initdb --locale=C -E UTF-8 /usr/local/var/postgres |
62 |
| - /usr/local/opt/postgres/bin/pg_ctl -D /usr/local/var/postgres start |
| 61 | + pg_ctl -D /usr/local/var/postgres start |
63 | 62 | sleep 3
|
64 |
| - /usr/local/opt/postgres/bin/createuser -s postgres |
65 |
| - /usr/local/opt/postgres/bin/createdb wundergraph_test -O postgres |
66 |
| - /usr/local/opt/postgres/bin/psql -c "ALTER USER postgres PASSWORD 'postgres';" wundergraph_test |
| 63 | + createuser -s postgres |
| 64 | + createdb wundergraph_test -O postgres |
| 65 | + psql -c "ALTER USER postgres PASSWORD 'postgres';" wundergraph_test |
67 | 66 |
|
68 | 67 | - name: Install sqlite (MacOS)
|
69 | 68 | if: runner.os == 'macOS' && matrix.backend == 'sqlite'
|
@@ -150,7 +149,7 @@ jobs:
|
150 | 149 | - uses: actions/checkout@v1
|
151 | 150 | - uses: actions-rs/toolchain@v1
|
152 | 151 | with:
|
153 |
| - toolchain: nightly-2019-10-03 |
| 152 | + toolchain: 1.42.0 |
154 | 153 | profile: minimal
|
155 | 154 | components: clippy, rustfmt
|
156 | 155 | - name: Cache cargo registry
|
|
0 commit comments