Skip to content

Commit d843f95

Browse files
committed
feat: update GitHub workflows to use actions/checkout@v4 and action-gh-release@v2
1 parent 369b792 commit d843f95

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
tags:
1111
- 'v*'
1212

13+
permissions:
14+
contents: write
15+
1316
jobs:
1417
build-and-release:
1518
name: Build and Create Release
@@ -18,7 +21,7 @@ jobs:
1821
VERSION: ${{ github.event.inputs.version }}
1922

2023
steps:
21-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2225

2326
- name: Install dependencies
2427
run: |
@@ -45,7 +48,7 @@ jobs:
4548

4649
- name: Create Release
4750
id: create_release
48-
uses: softprops/action-gh-release@v1
51+
uses: softprops/action-gh-release@v2
4952
with:
5053
name: Nutshell ${{ env.VERSION }}
5154
tag_name: v${{ env.VERSION }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: Install dependencies
1818
run: |

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
```bash
12
nutshell/
23
├── src/
34
│ ├── core/
@@ -27,6 +28,7 @@ nutshell/
2728
├── tests/ # Test suite
2829
├── Makefile
2930
└── README.md
31+
```
3032

3133
# Nutshell
3234

0 commit comments

Comments
 (0)