indexer: Write index atomically using rename
#5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: D | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
dub_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v3 | |
with: | |
path: vessel | |
- name: Checkout libmoss source | |
uses: actions/checkout@v3 | |
with: | |
repository: serpent-os/libmoss | |
path: libmoss | |
ref: main | |
- name: Checkout moss-service source | |
uses: actions/checkout@v3 | |
with: | |
repository: serpent-os/moss-service | |
path: moss-service | |
ref: main | |
- name: Setup D compiler | |
uses: dlang-community/[email protected] | |
with: | |
compiler: ldc-1.32.0 | |
- name: Install deps | |
run: | | |
sudo apt-get install libcurl4-openssl-dev liblmdb-dev libsodium-dev libxxhash-dev libzstd-dev | |
- name: Build & Test | |
run: | | |
cd vessel | |
dub test |