Commit Graph

138 Commits (master)

Author SHA1 Message Date
shirou a91ea95c78 feat(actions): go-version will be latest two version automatically on CI 3 years ago
nathannaveen 3a2c8dd4f8 chore: Set permissions for GitHub actions
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: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
3 years ago
shirou ea6bed829b add a GitHub action to auto release 3 years ago
dependabot[bot] b5592414b5
Bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot] b68e0acc74
Bump actions/cache from 2 to 3
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>
3 years ago
shirou 8717edb669 remove Windows 2016 from tests.
see https://github.com/actions/virtual-environments/issues/5238
3 years ago
Lomanic c0f6ce3804
Merge pull request #1264 from shirou/dependabot/github_actions/actions/labeler-4
Bump actions/labeler from 3.0.2 to 4
3 years ago
dependabot[bot] ff016751b6
Bump actions/labeler from 3.0.2 to 4
Bumps [actions/labeler](https://github.com/actions/labeler) from 3.0.2 to 4.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v3.0.2...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot] aa9aca7d12
Bump actions/checkout from 2 to 3
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>
3 years ago
dependabot[bot] a22a057761
Bump golangci/golangci-lint-action from 2 to 3
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
shirou 59e366d674 remove codecov 3 years ago
Matthieu MOREL fe2fab4938
Update test.yml 3 years ago
Matthieu MOREL 2252055b93
enable codecoverage 3 years ago
Matthieu MOREL f8c685e717
enable caching in workflows 3 years ago
Matthieu MOREL 08a73c90a6
Delete run-commit.yml 3 years ago
Matthieu MOREL 5eac39f418
Update run-commit.yml 3 years ago
Matthieu MOREL 3664dbb362
Update run-commit.yml 3 years ago
Matthieu MOREL 04c870cb3d
Update run-commit.yml 3 years ago
Matthieu MOREL fbdbfec158
Update run-commit.yml 3 years ago
Matthieu MOREL a2420eab64
Create run-commit.yml 3 years ago
shirou d2e27c1712 fix dependabot v2 deletion. 3 years ago
shirou 0969c9436b delete v2 directory, move v3 to top #1078 3 years ago
Matthieu MOREL 15ce718263
Update lint.yml 3 years ago
Matthieu MOREL ae6d769a24
setup golangci-lint 3 years ago
shirou 4db4dc09a0 [v3] fix Signal import on dragonfly OS in fallback 3 years ago
shirou ed7efd5d01 fix path on build_test 3 years ago
shirou a4ec7a2e77 fix build_test workflow 3 years ago
shirou 63210193c2 add build_test to github action 3 years ago
shirou bf37f4d1ec Update github action virtual environments and golang version
Golang: 15,16 -> 16, 17
Ubuntu: 1604, 1804 -> 1804, 2004
Mac: 10.14, 11.0 -> 10.15, 11
3 years ago
shirou 1273f2cffb change test support version to 1.15 and 1.16. 4 years ago
dependabot[bot] 0f84c89cb4
Bump actions/labeler from 2 to 3.0.2
Bumps [actions/labeler](https://github.com/actions/labeler) from 2 to 3.0.2.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v2...v3.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
shirou 92aa11e80a use ludeeus/action-shellcheck for shellcheck. 4 years ago
Lomanic 94e574749b
Merge pull request #995 from Lomanic/fix-mktypessh-v3 4 years ago
shirou fd963e2e16 remove circleci, change to use go 1.13 for testing.
and badge.
4 years ago
Lomanic b0b7969cbf [ci] Implement automatic shellcheck test on GH Actions 4 years ago
Lomanic 29304ebf73 [ci] Implement automatic tests on GH Actions on linux, windows and darwin
Based off 3710bfcc3e/.github/workflows/test.yml
4 years ago
Lomanic 596154ddc6 Fix labeler CI "HttpError: Resource not accessible by integration" error
See https://github.com/actions/labeler/issues/12#issuecomment-670967607
4 years ago
shirou 23a52469fa add github labeler to set labels automatically. 4 years ago