Skip to content

Commit c2fe052

Browse files
authored
Login command using device auth flow (#14)
* 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
1 parent 82404db commit c2fe052

14 files changed

Lines changed: 1602 additions & 191 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,33 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
check-linux-macos:
15-
name: "check linux and macos"
16-
runs-on: ${{ matrix.os }}
17-
strategy:
18-
matrix:
19-
os: [macos-latest, ubuntu-latest]
14+
check-linux:
15+
name: "check linux"
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Install nix
22+
uses: cachix/install-nix-action@V27
23+
with:
24+
extra_nix_config: access-tokens = github.com=${{ github.token }}
25+
26+
- name: Check nix formatting
27+
run: nix fmt -- -c .
28+
29+
- name: Set up cachix
30+
uses: cachix/cachix-action@v15
31+
with:
32+
name: nix-community
33+
34+
- name: Build with nix and run checks
35+
run: |
36+
nix flake check --print-build-logs
37+
38+
check-macos:
39+
name: "check macos"
40+
runs-on: macos-latest
2041
steps:
2142
- name: Checkout
2243
uses: actions/checkout@v4
@@ -36,7 +57,7 @@ jobs:
3657

3758
- name: Build with nix and run checks
3859
run: |
39-
nix flake check
60+
nix flake check --print-build-logs
4061
4162
check-win:
4263
name: "check windows"
@@ -82,7 +103,7 @@ jobs:
82103

83104
ci:
84105
runs-on: ubuntu-latest
85-
needs: [check-linux-macos, check-win, check-installer]
106+
needs: [check-macos, check-linux, check-win, check-installer]
86107
steps:
87108
- name: Aggregate of lint, and all tests
88109
run: echo "ci passed"

0 commit comments

Comments
 (0)