File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # GitHub Actions - CI for Go to build & test. See ci-go-cover.yml and linters.yml for code coverage and linters.
2+ # Taken from: https://github.com/fxamacker/cbor/workflows/ci.yml (thanks!)
3+ name : integration-tests
4+ on : [push, pull_request]
5+ jobs :
6+
7+ # Test on various OS with specified Go version.
8+ tests :
9+ name : ubuntu-latest
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/setup-go@v5
13+ with :
14+ go-version : " 1.25.1"
15+ - name : Install jq
16+ run :
17+ sudo apt-get install --yes jq
18+ - name : Install Docker
19+ run : |
20+ curl -fsSL https://get.docker.com | sh
21+ sudo usermod -aG docker $USER
22+ sudo systemctl restart docker
23+ - name : Set up Docker Buildx
24+ uses : docker/setup-buildx-action@v3
25+ - name : Checkout code
26+ uses : actions/checkout@v2
27+ with :
28+ fetch-depth : 1
29+ - name : Build project
30+ run : make
31+ - name : Run tests
32+ run : |
33+ make integ-test
You can’t perform that action at this time.
0 commit comments