Skip to content

Commit ef49290

Browse files
committed
go workflow
1 parent c0bbfa9 commit ef49290

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
name: Rust
1+
name: Go
22

33
on:
44
push:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
88

9-
env:
10-
CARGO_TERM_COLOR: always
11-
129
jobs:
13-
build:
1410

11+
build:
1512
runs-on: ubuntu-latest
16-
1713
steps:
1814
- uses: actions/checkout@v4
15+
16+
- name: Set up Go
17+
uses: actions/setup-go@v4
18+
with:
19+
go-version: '1.20'
20+
1921
- name: Build
20-
run: cargo build --verbose
21-
- name: Run tests
22-
run: cargo test --verbose
22+
run: go build -v ./...

0 commit comments

Comments
 (0)