Skip to content

Commit

Permalink
Merge pull request #106 from k1LoW/update-go
Browse files Browse the repository at this point in the history
Update go version
  • Loading branch information
k1LoW authored Mar 28, 2024
2 parents cb1f859 + 982a2af commit f022da5
Show file tree
Hide file tree
Showing 5 changed files with 1,998 additions and 166 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ jobs:
job-test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
go_version: [1.15, 1.22]
steps:
- name: Check out source code
uses: actions/checkout@v4

- name: Set up Go ${{ matrix.go_version }}
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go_version }}
go-version-file: go.mod

- name: Setup packages
run: |
Expand All @@ -41,12 +38,7 @@ jobs:
while ! nc -w 1 127.0.0.1 33071 > /dev/null 2>&1; do sleep 1; echo 'sleeping'; done;
- name: Test
if: ${{ matrix.go_version != '1.15' }}
run: make ci

- name: Test
if: ${{ matrix.go_version == '1.15' }}
run: make ci_go1.15

- name: Run octocov
uses: k1LoW/octocov-action@v0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist/
*.tfstate
*.tfstate.backup
coverage*out
tcpdp
Loading

0 comments on commit f022da5

Please sign in to comment.