Skip to content

Commit 5838b29

Browse files
committed
Gha test
1 parent 8d4e084 commit 5838b29

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,41 @@
1-
name: Ruby
1+
name: test gha
22

33
on:
44
push:
55
branches:
66
- master
7-
87
pull_request:
98

9+
permissions:
10+
id-token: write
11+
contents: read
12+
1013
jobs:
11-
build:
14+
deploy-infrastructure:
1215
runs-on: ubuntu-latest
13-
name: Ruby ${{ matrix.ruby }}
14-
strategy:
15-
matrix:
16-
ruby:
17-
- '3.2.0'
18-
1916
steps:
20-
- uses: actions/checkout@v4
21-
- name: Set up Ruby
22-
uses: ruby/setup-ruby@v1
23-
with:
24-
ruby-version: ${{ matrix.ruby }}
25-
bundler-cache: true
26-
- name: Run the default task
27-
run: bundle exec rake
17+
- uses: actions/checkout@v4
18+
- uses: azure/login@v2
19+
with:
20+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
21+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
22+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
23+
24+
25+
# build:
26+
# runs-on: ubuntu-latest
27+
# name: Ruby ${{ matrix.ruby }}
28+
# strategy:
29+
# matrix:
30+
# ruby:
31+
# - '3.2.0'
32+
33+
# steps:
34+
# - uses: actions/checkout@v4
35+
# - name: Set up Ruby
36+
# uses: ruby/setup-ruby@v1
37+
# with:
38+
# ruby-version: ${{ matrix.ruby }}
39+
# bundler-cache: true
40+
# - name: Run the default task
41+
# run: bundle exec rake

0 commit comments

Comments
 (0)