Skip to content

Commit

Permalink
[Housekeeping] Add permissions to build workflow and pin ruby (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcsjones authored Aug 9, 2024
2 parents cf56fc9 + 706d66e commit e4a129d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build + Test
on: [pull_request, push]

permissions:
contents: read

jobs:
build:
name: Build + Test
Expand All @@ -12,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 #v1.190.0 tag
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
Expand Down

0 comments on commit e4a129d

Please sign in to comment.