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
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
name: Build for Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6.0.2
- if: ${{ github.event_name == 'push' }}
uses: docker/login-action@v3
uses: docker/login-action@v4.1.0
with:
username: stephanmisc
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -30,7 +30,7 @@ jobs:

# The artifact name will contain the target triple, so the file name doesn't need to.
mv artifacts/docuum-x86_64-unknown-linux-gnu artifacts/docuum
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7.0.1
with:
name: x86_64-unknown-linux-gnu
path: artifacts/docuum
Expand All @@ -41,7 +41,7 @@ jobs:

# The artifact name will contain the target triple, so the file name doesn't need to.
mv artifacts/docuum-x86_64-unknown-linux-musl artifacts/docuum
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7.0.1
with:
name: x86_64-unknown-linux-musl
path: artifacts/docuum
Expand All @@ -52,7 +52,7 @@ jobs:

# The artifact name will contain the target triple, so the file name doesn't need to.
mv artifacts/docuum-aarch64-unknown-linux-gnu artifacts/docuum
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7.0.1
with:
name: aarch64-unknown-linux-gnu
path: artifacts/docuum
Expand All @@ -63,7 +63,7 @@ jobs:

# The artifact name will contain the target triple, so the file name doesn't need to.
mv artifacts/docuum-aarch64-unknown-linux-musl artifacts/docuum
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7.0.1
with:
name: aarch64-unknown-linux-musl
path: artifacts/docuum
Expand All @@ -79,7 +79,7 @@ jobs:
# The unit tests do not expect the files in `test_data` to have carriage returns added.
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v4
- uses: actions/checkout@v6.0.2
- run: |
# Make Bash log commands and not silently ignore errors.
set -euxo pipefail
Expand Down Expand Up @@ -111,12 +111,12 @@ jobs:

# Run the tests.
NO_COLOR=true cargo test --locked # [ref:colorless_tests]
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7.0.1
with:
name: x86_64-pc-windows-msvc
path: target/x86_64-pc-windows-msvc/release/docuum.exe
if-no-files-found: error
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7.0.1
with:
name: aarch64-pc-windows-msvc
path: target/aarch64-pc-windows-msvc/release/docuum.exe
Expand All @@ -125,7 +125,7 @@ jobs:
name: Build for macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6.0.2
- run: |
# Make Bash log commands and not silently ignore errors.
set -euxo pipefail
Expand All @@ -150,12 +150,12 @@ jobs:

# Run the tests.
NO_COLOR=true cargo test --locked # [ref:colorless_tests]
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7.0.1
with:
name: x86_64-apple-darwin
path: target/x86_64-apple-darwin/release/docuum
if-no-files-found: error
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7.0.1
with:
name: aarch64-apple-darwin
path: target/aarch64-apple-darwin/release/docuum
Expand All @@ -164,7 +164,7 @@ jobs:
name: Install on macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6.0.2
- run: |
# Make Bash log commands and not silently ignore errors.
set -euxo pipefail
Expand All @@ -178,7 +178,7 @@ jobs:
name: Install on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6.0.2
- run: |
# Make Bash log commands and not silently ignore errors.
set -euxo pipefail
Expand All @@ -196,12 +196,12 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
- uses: actions/checkout@v6.0.2
- uses: docker/login-action@v4.1.0
with:
username: stephanmisc
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8.0.1
with:
path: artifacts/
- env:
Expand Down
Loading
Loading