This repository has been archived by the owner on Dec 21, 2024. It is now read-only.
feat: allow configuring opengb config path #1120
Workflow file for this run
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: Test | |
# | |
# on: | |
# - pull_request | |
# | |
# concurrency: | |
# group: ${{ github.workflow }}-${{ github.ref }} | |
# cancel-in-progress: true | |
# | |
# jobs: | |
# test: | |
# runs-on: ${{ matrix.os }} | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# # TODO: https://github.com/rivet-gg/cli/issues/211 | |
# # os: [ubuntu-22.04, macos-12] | |
# os: [ubuntu-22.04] | |
# steps: | |
# - uses: actions/checkout@v4 | |
# | |
# - name: Install nix | |
# uses: cachix/install-nix-action@v22 | |
# with: | |
# nix_path: nixpkgs=channel:nixos-23.05 | |
# | |
# - name: Install Docker | |
# if: startsWith(matrix.os, 'macos-') | |
# run: | | |
# brew install docker | |
# colima start | |
# | |
# - name: Cache Cargo dependencies | |
# uses: actions/cache@v2 | |
# timeout-minutes: 10 | |
# with: | |
# path: | | |
# ~/.cargo/registry | |
# ~/.cargo/git | |
# target | |
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
# restore-keys: | | |
# ${{ runner.os }}-cargo- | |
# | |
# - name: Run cargo fmt | |
# run: | | |
# nix-shell --run " | |
# cargo fmt --check --manifest-path core/Cargo.toml && | |
# cargo fmt --check --manifest-path cli/Cargo.toml | |
# " | |
# | |
# - name: Run cargo test | |
# env: | |
# RIVET_API_ENDPOINT: ${{ secrets.RIVET_API_ENDPOINT }} | |
# RIVET_TOKEN: ${{ secrets.RIVET_TOKEN }} | |
# RUST_BACKTRACE: 1 | |
# CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true | |
# run: | | |
# nix-shell --run "cargo test" | |
# |