Commit Graph

20 Commits

Author SHA1 Message Date
Naveen 5c9ef9a843
Set permissions for GitHub actions (#5237)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-10 09:38:43 +08:00
dependabot[bot] 6c827ff2e3
chore(deps): bump actions/cache from 2 to 3 (#5196)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 19:55:05 +08:00
Jinzhu d66f37ad32 Add Go 1.18 2022-03-21 10:50:14 +08:00
dependabot[bot] f961bf1c14
chore(deps): bump actions/checkout from 2 to 3 (#5133)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-12 22:28:18 +08:00
Jinzhu f19b84d104 Fix github action 2022-01-30 22:46:41 +08:00
s-takehana 0b6bd33934
Update `tests.yml` (#4741) 2021-10-08 10:51:53 +08:00
jxlwqq 15188cf409
Add Go 1.17 (#4666) 2021-09-03 17:47:32 +08:00
s-takehana cf079b8b7d
Update version in `tests.yml` (#4432) 2021-06-02 09:58:22 +08:00
Chris Faulkner 15a46bc042
Fix some typos (#4294) 2021-04-19 21:03:39 +08:00
Jinzhu 88078e48d0 Remove sqlite_windows test case 2021-03-24 16:56:41 +08:00
Jinzhu 4d5cec8bdd Add golang 1.16 2021-03-24 14:22:36 +08:00
Manyanda Chitimbo f6308ed223
refactor: fix typo in tests.yml (#4005) 2021-01-27 11:18:39 +08:00
Jinzhu 84dbb36d3b Add Golang v1.15 2020-08-24 20:24:25 +08:00
Jinzhu e83e210971 Update postgres DSN 2020-07-16 17:15:57 +08:00
Jinzhu f835a4deac Add health check for github action databases 2020-07-04 07:57:33 +08:00
Jinzhu 8100ac7663 Change default postgres DSN for github action 2020-07-03 09:27:24 +08:00
Jinzhu 834cfa2c78 Disable GORM_VERBOSE in github action 2020-06-24 15:04:46 +08:00
Jinzhu 90f817db29 Update issue template 2020-06-24 14:48:44 +08:00
mojotv dd7caa9db0
add macos and windows for sqlite unit test and use cache for go mod package download (#3079)
Co-authored-by: EricZhou <zhouqing1@360.cn>
2020-06-23 16:00:04 +08:00
Jinzhu c84a8fe571 Switch to github actions 2020-06-22 23:14:17 +08:00