Skip to content

Commit a8a174d

Browse files
authored
Update GitHub Actions (#570)
* Allow testing feature branches * Bump GitHub Actions * Fix zizmor warnings and add colour to logs
1 parent 96f25c1 commit a8a174d

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
name: Build
22

3-
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
permissions: {}
6+
7+
env:
8+
FORCE_COLOR: 1
89

910
jobs:
1011
build:
1112
runs-on: ubuntu-latest
1213
steps:
13-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
15+
with:
16+
persist-credentials: false
1417
- name: Setup Python
15-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v5
1619
with:
1720
python-version: 3.9
1821
- name: Check configuration

0 commit comments

Comments
 (0)