Skip to content

Commit

Permalink
Login command using device auth flow (#14)
Browse files Browse the repository at this point in the history
* Implement login command and inject access token into renku client
* The token is stored on users application directory
* Alternatively, the access token can be specified via an env var
  • Loading branch information
eikek authored Jul 26, 2024
1 parent 82404db commit c2fe052
Show file tree
Hide file tree
Showing 14 changed files with 1,602 additions and 191 deletions.
37 changes: 29 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,33 @@ concurrency:
cancel-in-progress: true

jobs:
check-linux-macos:
name: "check linux and macos"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
check-linux:
name: "check linux"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@V27
with:
extra_nix_config: access-tokens = github.com=${{ github.token }}

- name: Check nix formatting
run: nix fmt -- -c .

- name: Set up cachix
uses: cachix/cachix-action@v15
with:
name: nix-community

- name: Build with nix and run checks
run: |
nix flake check --print-build-logs
check-macos:
name: "check macos"
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -36,7 +57,7 @@ jobs:

- name: Build with nix and run checks
run: |
nix flake check
nix flake check --print-build-logs
check-win:
name: "check windows"
Expand Down Expand Up @@ -82,7 +103,7 @@ jobs:

ci:
runs-on: ubuntu-latest
needs: [check-linux-macos, check-win, check-installer]
needs: [check-macos, check-linux, check-win, check-installer]
steps:
- name: Aggregate of lint, and all tests
run: echo "ci passed"
Loading

0 comments on commit c2fe052

Please sign in to comment.