Skip to content

Commit

Permalink
add scheduled test and go versions and update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ichirin2501 committed Jan 8, 2024
1 parent 2877dda commit 281443e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/scheduled-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Scheduled-test

on:
schedule:
- cron: "0 0 * * 1"

jobs:
scheduled-test:
strategy:
matrix:
go-version: [1.18.x, 1.19.x, 1.20.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '${{ matrix.go-version }}'
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: make test
8 changes: 4 additions & 4 deletions .github/workflows/go.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18.x]
go-version: [1.18.x, 1.19.x, 1.20.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
go-version: '${{ matrix.go-version }}'
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Test
run: make test

0 comments on commit 281443e

Please sign in to comment.