Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
POSTGRES_TEST_CONN_STR: postgres://migrant:pass@localhost:5432/migrant_test
MYSQL_TEST_CONN_STR: mysql://migrant:pass@localhost:3306/migrant_test
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: test (no db features)
Expand All @@ -79,7 +79,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: test
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Install mdBook
run: |
mkdir -p "$HOME/.local/bin"
Expand All @@ -42,8 +42,8 @@ jobs:
cp -r docs/landing/. _site/
mkdir -p _site/guide
cp -r docs/book/. _site/guide/
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v5
with:
path: _site

Expand All @@ -58,10 +58,10 @@ jobs:
# first status poll. Retry once after a short settle so a transient backend
# blip does not fail the run; a persistent failure still fails the retry.
- id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
continue-on-error: true
- if: steps.deployment.outcome == 'failure'
run: sleep 30
- id: deployment_retry
if: steps.deployment.outcome == 'failure'
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- name: Verify tag matches crate version
run: |
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
features: sqlite,postgres,mysql,update
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
Copy-Item README.md,LICENSE $name
Compress-Archive -Path $name -DestinationPath "$name.zip"
- name: Upload build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: dist-${{ matrix.target }}
path: |
Expand All @@ -148,7 +148,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: dist-*
path: dist
Expand All @@ -163,7 +163,7 @@ jobs:
*) echo "prerelease=false" >> "$GITHUB_OUTPUT" ;;
esac
- name: Create release and upload binaries
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
prerelease: ${{ steps.kind.outputs.prerelease }}
files: |
Expand All @@ -177,7 +177,7 @@ jobs:
environment: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Compute image tags
id: tags
run: |
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- name: Wait for migrant_lib on crates.io
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/src/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Add `migrant_lib` to your project and enable a backend feature. See

```toml
[dependencies]
migrant_lib = { version = "1.0.0-rc.1", features = ["postgres"] }
migrant_lib = { version = "1.0.0-rc.2", features = ["postgres"] }
```

Next: the [Quickstart](quickstart.md).
2 changes: 1 addition & 1 deletion docs/src/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ backend feature (`sqlite`, `postgres`, `mysql`, or `all`):

```toml
[dependencies]
migrant_lib = { version = "1.0.0-rc.1", features = ["postgres"] }
migrant_lib = { version = "1.0.0-rc.2", features = ["postgres"] }
```

## The pieces
Expand Down