Skip to content

Commit 3ebcfae

Browse files
committed
fix deprecated GitHub Actions
1 parent 0562393 commit 3ebcfae

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/go.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ jobs:
3737
python-version: '3.x'
3838
# Rust is required to build some packages
3939
- name: install rust
40-
uses: actions-rs/toolchain@v1
41-
with:
42-
toolchain: stable
40+
uses: dtolnay/rust-toolchain@stable
4341
- name: install python dependencies
4442
run: pip install twine build wheel
4543
- name: install go dependencies
@@ -49,12 +47,7 @@ jobs:
4947
- name: build
5048
run: go build
5149
- name: test
52-
run: gotestsum --jsonfile unit-tests.json
53-
- name: annotate tests
54-
if: always()
55-
uses: guyarb/golang-test-annotations@v0.9.0
56-
with:
57-
test-results: unit-tests.json
50+
run: gotestsum --format github-actions
5851
- name: notify slack on failure
5952
uses: craftech-io/slack-action@v1
6053
if: failure() && github.event_name == 'schedule'

0 commit comments

Comments
 (0)