Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
hhow09 committed Jul 14, 2024
1 parent e9f1ce8 commit de96c51
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI
on:
push:
paths-ignore:
- 'README.md'
pull_request:
types: [opened]
paths-ignore:
- 'README.md'


jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
- name: Clone redis tester
uses: actions/checkout@v4
with:
repository: hhow09/redis-tester
token: ${{ secrets.TESTER_REPO_PAT }}
- name: Run redis tester
run: |
cd redis-tester
echo "CODECRAFTERS_SUBMISSION_DIR = ../ \n" > .env
make test_all_with_redis

0 comments on commit de96c51

Please sign in to comment.