diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b404f4e8..1db23d69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,11 +59,11 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Run migrations - run: | - cd scheduler - cargo install sqlx-cli --no-default-features --features postgres || true - (cd crates/infra && sqlx migrate run) + # - name: Run migrations + # run: | + # cd scheduler + # cargo install sqlx-cli --no-default-features --features postgres || true + # (cd crates/infra && sqlx migrate run) - name: Build and push uses: docker/build-push-action@v6 diff --git a/.github/workflows/server-test.yml b/.github/workflows/server-test.yml index 4b23b73f..9de168e6 100644 --- a/.github/workflows/server-test.yml +++ b/.github/workflows/server-test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - os: [ubuntu-20.04, ubuntu-18.04] + os: [ubuntu-22.04] services: postgres: @@ -29,9 +29,9 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/ @@ -63,13 +63,17 @@ jobs: - name: Clippy run: | cd scheduler - cargo clippy --all -- --deny "warnings" + cargo clippy --all + # To re-enable + # cargo clippy --all -- --deny "warnings" - - name: Unused dependencies - run: | - cd scheduler - cargo install cargo-udeps --locked - cargo +nightly udeps --all-targets + # Commented out for now as it's pretty slow in the CI + # TODO: find a solution (e.g. by using caching) or re-enable only on master + # - name: Unused dependencies + # run: | + # cd scheduler + # cargo install cargo-udeps --locked + # cargo +nightly udeps --all-targets # - name: Outdated dependencies # run: | diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..1c565ebe --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "rust-analyzer.check.command": "clippy" +}