Skip to content

Commit aca0e19

Browse files
authored
Merge pull request #5 from UTEXO-Protocol/main-master-actions
add main branch as for gh actions
2 parents 358d2d2 + 9d48677 commit aca0e19

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ["master", "main"]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ["master", "main"]
88

99
env:
1010
CARGO_TERM_COLOR: always
@@ -16,8 +16,8 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
toolchain: [ nightly, stable, 1.85.0 ]
20-
name: [ linux, windows, macos ]
19+
toolchain: [nightly, stable, 1.85.0]
20+
name: [linux, windows, macos]
2121
include:
2222
- name: linux
2323
os: ubuntu-latest

.github/workflows/format.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Format code
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ["master", "main"]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ["master", "main"]
88

99
env:
1010
CARGO_TERM_COLOR: always

.github/workflows/lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Lint code
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ["master", "main"]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ["master", "main"]
88

99
env:
1010
CARGO_TERM_COLOR: always

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Run tests
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ["master", "main"]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ["master", "main"]
88

99
env:
1010
CARGO_TERM_COLOR: always

0 commit comments

Comments
 (0)