fork/gdu
git clone https://git.julia.blue/fork/gdu
43b9a12
master
1on : 2push : 3branches : 4- master 5pull_request : 6branches : 7- master 8 9name : run tests 10jobs : 11lint : 12runs-on : ubuntu-latest 13steps : 14- name : Install Go 15uses : actions/setup-go@v7 16with : 17go-version : 1.27.x 18- name : Checkout code 19uses : actions/checkout@v7 20- name : Run linters 21uses : golangci/golangci-lint-action@v9 22with : 23version : v2.13.2 24 25test : 26strategy : 27matrix : 28go-version : [ 1.26.x , 1.27.x ] 29platform : [ ubuntu-latest ] 30include : 31- go-version : 1.27.x 32platform : macos-latest 33runs-on : ${{ matrix.platform }} 34steps : 35- name : Install Go 36if : success() 37uses : actions/setup-go@v7 38with : 39go-version : ${{ matrix.go-version }} 40- name : Checkout code 41uses : actions/checkout@v7 42- name : Run tests 43run : go test -v -covermode=count ./... 44 45coverage : 46runs-on : ubuntu-latest 47steps : 48- name : Install Go 49if : success() 50uses : actions/setup-go@v7 51with : 52go-version : 1.27.x 53- name : Checkout code 54uses : actions/checkout@v7 55- name : Calc coverage 56run : | 57go test -v -race -covermode=atomic -coverprofile=coverage.out ./... 58- name : Upload coverage report 59uses : codecov/codecov-action@v7 60with : 61files : ./coverage.out 62fail_ci_if_error : true 63verbose : true 64token : ${{ secrets.CODECOV_TOKEN }}