aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2022-11-20 11:11:20 -0800
committerJack O'Connor <[email protected]>2022-11-20 12:45:11 -0800
commite067e7f49839617e29e640c0778ef2b84a21b243 (patch)
tree5e9e228d48e90cdd7ea0e41056b274295f08024b /.github
parentc6a25d7c9716a91ac1ae897a402a2f6fc160d03c (diff)
add the MSRV toolchain (currently 1.60.0) to CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml22
-rw-r--r--.github/workflows/tag.yml4
2 files changed, 18 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2147cbd..7af84de 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -25,10 +25,20 @@ jobs:
{ "os": "windows-latest", "toolchain": "x86_64-pc-windows-msvc", "name": "Windows MSVC" },
{ "os": "windows-latest", "toolchain": "x86_64-pc-windows-gnu", "name": "Windows GNU" }
]
- channel: [stable, beta, nightly]
+ channel: [
+ "stable",
+ "beta",
+ "nightly",
+ # The current MSRV. This crate doesn't have an official MSRV policy,
+ # but in practice we'll probably do what libc does:
+ # https://github.com/rust-lang/libs-team/issues/72.
+ # This test target is here so that we notice if we accidentally bump
+ # the MSRV, but it's not a promise that we won't bump it.
+ "1.60.0",
+ ]
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ format('{0}-{1}', matrix.channel, matrix.target.toolchain) }}
@@ -140,7 +150,7 @@ jobs:
- mips-unknown-linux-gnu
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -170,7 +180,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v3
# Test the intrinsics-based implementations.
- run: make -f Makefile.testing test
working-directory: ./c
@@ -222,7 +232,7 @@ jobs:
strategy:
fail-fast: false
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -238,7 +248,7 @@ jobs:
name: build with the Tiny C Compiler
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v3
- name: install TCC
run: sudo apt-get install -y tcc
- name: compile
diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml
index 577d4f3..3f7e886 100644
--- a/.github/workflows/tag.yml
+++ b/.github/workflows/tag.yml
@@ -23,8 +23,8 @@ jobs:
]
steps:
- - uses: actions/checkout@v1
- - uses: actions/setup-python@v1
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
with:
python-version: "3.x"
- run: pip install PyGithub