feat: menambahkan materi 17. tipe casting with struct #91
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: golang test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
golang_test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup go untuk testing | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.18' | |
- name: golang ci linting | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.51.0 | |
args: --disable-all -E gofmt --print-linter-name | |
skip-build-cache: true | |
- name: run math unit testing | |
run: go test ./math/... | |
- name: run math implementation unit testing | |
run: go test ./math_implementation/... |