Skip to content

Commit 6989513

Browse files
authored
GHA: security updates (#46)
1 parent 8654bc9 commit 6989513

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/c.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
name: Ubuntu
22

3-
on: [push]
3+
'on': [push]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
7+
cancel-in-progress: true
8+
9+
permissions: {}
410

511
jobs:
612
build:
7-
13+
name: 'build'
814
runs-on: ubuntu-latest
9-
1015
steps:
11-
- uses: actions/checkout@v1
12-
- name: install libcurl
13-
run: sudo apt-get install libcurl4-openssl-dev
14-
- name: make
15-
run: make
16-
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
with:
18+
persist-credentials: false
19+
- name: install libcurl
20+
run: sudo apt-get install libcurl4-openssl-dev
21+
- name: make
22+
run: make

0 commit comments

Comments
 (0)